mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-07 16:47:07 +00:00
Errorf -> fmt.Errorf
This commit is contained in:
@@ -27,7 +27,7 @@ func GetNonce(remote string) uint64 {
|
||||
response := btypes.ResponseStatus{}
|
||||
_, err = rpc.Call(remote, "status", Arr(), &response)
|
||||
if err != nil {
|
||||
panic(Fmt("Error fetching nonce from remote %v: %v", remote, err))
|
||||
Exit(Fmt("Error fetching nonce from remote %v: %v", remote, err))
|
||||
}
|
||||
return response.Nonce
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user