diff --git a/abe/abe.go b/abe/abe.go index 29926fc6f63e..d78c759359c0 100644 --- a/abe/abe.go +++ b/abe/abe.go @@ -77,7 +77,7 @@ func SendVerificationTexts(block *types.Block, coinbase common.Address, accountM // Send the actual text message using our mining pool. // TODO: Make mining pool be configurable via command line arguments. - url := "https://mining-pool.celo.org/send-text" + url := "https://mining-pool.celo.org/v0.1/sms" values := map[string]string{"phoneNumber": phone, "message": secret} jsonValue, _ := json.Marshal(values) _, err = http.Post(url, "application/json", bytes.NewBuffer(jsonValue)) diff --git a/p2p/dial.go b/p2p/dial.go index d8feceb9f3b3..dad6bb3006c6 100644 --- a/p2p/dial.go +++ b/p2p/dial.go @@ -32,7 +32,7 @@ import ( const ( // This is the amount of time spent waiting in between // redialing a certain node. - dialHistoryExpiration = 30 * time.Second + dialHistoryExpiration = 7 * time.Second // Discovery lookups are throttled and can only run // once every few seconds.