Skip to content

Commit

Permalink
change unlock to 'nil' to be compatible for both geth and parity
Browse files Browse the repository at this point in the history
  • Loading branch information
hayeah committed Apr 27, 2018
1 parent c6a9237 commit b5c7f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployer/eth/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit b5c7f83

Please sign in to comment.