only wait a maximum of 2 blocks before transfering
fix debug string
This commit is contained in:
parent
963c450730
commit
76301d40ba
2 changed files with 4 additions and 2 deletions
sdk
|
@ -146,7 +146,7 @@ func (a *APIConfig) SetChannelCert(certHex string, channelID string) error {
|
|||
body, _ := ioutil.ReadAll(res.Body)
|
||||
if res.StatusCode != http.StatusOK {
|
||||
util.SendErrorToSlack("Error %d while trying to call %s. Waiting to retry", res.StatusCode, endpoint)
|
||||
log.Debugln(body)
|
||||
log.Debugln(string(body))
|
||||
time.Sleep(30 * time.Second)
|
||||
return a.SetChannelCert(certHex, channelID)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue