Proof uses uint64 for blockHeight

This commit is contained in:
Ethan Frey
2017-01-17 17:22:34 +01:00
parent e0309007ad
commit fdc047ae7a
14 changed files with 193 additions and 194 deletions
+2 -2
View File
@@ -324,9 +324,9 @@ func cmdProof(c *cli.Context) error {
return err
}
var height int64
var height uint64
if len(args) == 2 {
height, _ = strconv.ParseInt(args[1], 10, 0)
height, _ = strconv.ParseUint(args[1], 10, 0)
}
res := client.ProofSync(keyBytes, height)
rsp := newResponse(res, string(res.Data), true)