From a6c8b9839e9c8a5c55990cbaf48768e6c97f968d Mon Sep 17 00:00:00 2001 From: "vracek@protonmail.com" Date: Sun, 30 Sep 2018 12:11:38 -0700 Subject: [PATCH] update --- rpc/legacyrpc/methods.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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