Fix address type in js test

This commit is contained in:
Gustav Simonsson 2015-05-12 17:48:21 +02:00
parent 037772fc07
commit 231fe04f03
1 changed files with 1 additions and 1 deletions

View File

@ -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")
}