瀏覽代碼

Fix natspec e2e test accounts type (again)

Gustav Simonsson 10 年之前
父節點
當前提交
fe9e95a3fd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      common/natspec/natspec_e2e_test.go

+ 1 - 1
common/natspec/natspec_e2e_test.go

@@ -84,7 +84,7 @@ type testFrontend struct {
 }
 
 func (self *testFrontend) UnlockAccount(acc []byte) bool {
-	self.ethereum.AccountManager().Unlock(acc, "password")
+	self.ethereum.AccountManager().Unlock(common.BytesToAddress(acc), "password")
 	return true
 }