Fix address type in js test

pull/631/head
Gustav Simonsson 10 years ago
parent 037772fc07
commit 231fe04f03
  1. 2
      cmd/geth/js_test.go

@ -45,7 +45,7 @@ type testjethre struct {
} }
func (self *testjethre) UnlockAccount(acc []byte) bool { func (self *testjethre) UnlockAccount(acc []byte) bool {
err := self.ethereum.AccountManager().Unlock(acc, "") err := self.ethereum.AccountManager().Unlock(common.BytesToAddress(acc), "")
if err != nil { if err != nil {
panic("unable to unlock") panic("unable to unlock")
} }

Loading…
Cancel
Save