From b5c7f8368df00ac62f82ada82f773bb80ae9f536 Mon Sep 17 00:00:00 2001 From: Howard Yeh Date: Fri, 27 Apr 2018 12:07:38 +0800 Subject: [PATCH] change unlock to 'nil' to be compatible for both geth and parity --- deployer/eth/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployer/eth/client.go b/deployer/eth/client.go index 34ac7d3..0fa470d 100644 --- a/deployer/eth/client.go +++ b/deployer/eth/client.go @@ -13,7 +13,7 @@ type Account struct { func (acc Account) Unlock(client *rpc.Client) (err error) { var result bool - err = client.Call(&result, "personal_unlockAccount", acc.Addr, acc.Password, 300) + err = client.Call(&result, "personal_unlockAccount", acc.Addr, acc.Password, nil) if err != nil { return errors.Wrap(err, "personal_unlockAccount") }