aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-03-10 21:55:00 +0800
committerFelix Lange <fjl@twurst.com>2015-03-10 21:55:00 +0800
commit0f67f1e9de856404136dcdce78fc0ab93bab6a84 (patch)
treeb0a328463810c52d7b0a4f42663b19f5a5331f30
parent0395c174ca5221dd936c19143ced454dac56d54a (diff)
downloaddexon-0f67f1e9de856404136dcdce78fc0ab93bab6a84.tar.gz
dexon-0f67f1e9de856404136dcdce78fc0ab93bab6a84.tar.zst
dexon-0f67f1e9de856404136dcdce78fc0ab93bab6a84.zip
xeth: fix signing transaction after unlock
-rw-r--r--xeth/xeth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index f8b537321..60262bf17 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -360,7 +360,7 @@ func (self *XEth) sign(tx *types.Transaction, from []byte, didUnlock bool) error
return fmt.Errorf("could not unlock sender account")
}
// retry signing, the account should now be unlocked.
- self.sign(tx, from, true)
+ return self.sign(tx, from, true)
} else if err != nil {
return err
}