diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-12 23:48:21 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-12 23:48:21 +0800 |
commit | 231fe04f0309e588c6151e1d5a14fd5adc116bf2 (patch) | |
tree | d1361bf7099d71d990f419d72a6939fcb10c58b5 | |
parent | 037772fc0713264b53441d4956a52842f0288859 (diff) | |
download | dexon-231fe04f0309e588c6151e1d5a14fd5adc116bf2.tar dexon-231fe04f0309e588c6151e1d5a14fd5adc116bf2.tar.gz dexon-231fe04f0309e588c6151e1d5a14fd5adc116bf2.tar.bz2 dexon-231fe04f0309e588c6151e1d5a14fd5adc116bf2.tar.lz dexon-231fe04f0309e588c6151e1d5a14fd5adc116bf2.tar.xz dexon-231fe04f0309e588c6151e1d5a14fd5adc116bf2.tar.zst dexon-231fe04f0309e588c6151e1d5a14fd5adc116bf2.zip |
Fix address type in js test
-rw-r--r-- | cmd/geth/js_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go index 9b6d503ab..8f9859771 100644 --- a/cmd/geth/js_test.go +++ b/cmd/geth/js_test.go @@ -45,7 +45,7 @@ type testjethre struct { } func (self *testjethre) UnlockAccount(acc []byte) bool { - err := self.ethereum.AccountManager().Unlock(acc, "") + err := self.ethereum.AccountManager().Unlock(common.BytesToAddress(acc), "") if err != nil { panic("unable to unlock") } |