diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-11 02:30:02 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-05-12 23:22:17 +0800 |
commit | 2c1b0ff17e020f300ed9d5a5a244f59b4febfe66 (patch) | |
tree | cafa9b03743b00d4ef902ddf3effc1734e885a89 /xeth | |
parent | fe9e95a3fd6275fe2740261d3d110c13de4aa0ce (diff) | |
download | dexon-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar dexon-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.gz dexon-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.bz2 dexon-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.lz dexon-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.xz dexon-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.zst dexon-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.zip |
Update key store to new spec but keep address field for now
* Also fix address types post-rebase
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index 28ca05f47..0fe68d175 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -817,7 +817,7 @@ func (self *XEth) ConfirmTransaction(tx string) bool { } func (self *XEth) doSign(from common.Address, hash common.Hash, didUnlock bool) ([]byte, error) { - sig, err := self.backend.AccountManager().Sign(accounts.Account{Address: from.Bytes()}, hash.Bytes()) + sig, err := self.backend.AccountManager().Sign(accounts.Account{Address: from}, hash.Bytes()) if err == accounts.ErrLocked { if didUnlock { return nil, fmt.Errorf("signer account still locked after successful unlock") |