Make getnetworkhashps result an int64.
This commit is contained in:
parent
397c4caefe
commit
7623d13c37
1 changed files with 6 additions and 0 deletions
|
@ -891,6 +891,12 @@ func ReadResultCmd(cmd string, message []byte) (Reply, error) {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
result.Result = res
|
result.Result = res
|
||||||
}
|
}
|
||||||
|
case "getnetworkhashps":
|
||||||
|
var res int64
|
||||||
|
err = json.Unmarshal(objmap["result"], &res)
|
||||||
|
if err == nil {
|
||||||
|
result.Result = res
|
||||||
|
}
|
||||||
case "getrawtransaction":
|
case "getrawtransaction":
|
||||||
// getrawtransaction can either return a JSON object or a
|
// getrawtransaction can either return a JSON object or a
|
||||||
// hex-encoded string depending on the verbose flag. Choose the
|
// hex-encoded string depending on the verbose flag. Choose the
|
||||||
|
|
Loading…
Reference in a new issue