aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-05-11 02:30:02 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-12 23:22:17 +0800
commit2c1b0ff17e020f300ed9d5a5a244f59b4febfe66 (patch)
treecafa9b03743b00d4ef902ddf3effc1734e885a89 /xeth/xeth.go
parentfe9e95a3fd6275fe2740261d3d110c13de4aa0ce (diff)
downloadgo-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.gz
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.bz2
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.lz
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.xz
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.zst
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.zip
Update key store to new spec but keep address field for now
* Also fix address types post-rebase
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go2
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")