aboutsummaryrefslogtreecommitdiffstats
path: root/eth/backend.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-04-19 07:09:41 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-12 23:19:39 +0800
commit8754f2b768ba00d8507a7990dccca80e6cea1cc0 (patch)
tree093bba1ffd41f520058c57a0b709bc680ddee91d /eth/backend.go
parentcd88295f5ac360aaaf63be94ae09f202a4b8630f (diff)
downloadgo-tangerine-8754f2b768ba00d8507a7990dccca80e6cea1cc0.tar.gz
go-tangerine-8754f2b768ba00d8507a7990dccca80e6cea1cc0.tar.zst
go-tangerine-8754f2b768ba00d8507a7990dccca80e6cea1cc0.zip
Fix common.Address / []byte type conversions
Diffstat (limited to 'eth/backend.go')
-rw-r--r--eth/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go
index 65b096d49..362a7eab7 100644
--- a/eth/backend.go
+++ b/eth/backend.go
@@ -545,7 +545,7 @@ func (self *Ethereum) syncAccounts(tx *types.Transaction) {
return
}
- if self.accountManager.HasAccount(from.Bytes()) {
+ if self.accountManager.HasAccount(from) {
if self.chainManager.TxState().GetNonce(from) < tx.Nonce() {
self.chainManager.TxState().SetNonce(from, tx.Nonce())
}