diff --git a/rpc/legacyrpc/methods.go b/rpc/legacyrpc/methods.go index 2c14eabbc..95d7496d0 100644 --- a/rpc/legacyrpc/methods.go +++ b/rpc/legacyrpc/methods.go @@ -3461,9 +3461,9 @@ func verifySeed(s *Server, icmd interface{}) (interface{}, error) { } // obtain the wallet public key to check agaisnt the wallet derived seed - account := 0 + var account uint32 = 0 if cmd.Account != nil { - account = int(cmd.Account) + account = uint32(cmd.Account) } // do whats necessary to derive the key from the seed