xeth: fix signing transaction after unlock

This commit is contained in:
Felix Lange 2015-03-10 14:55:00 +01:00
parent 0395c174ca
commit 0f67f1e9de

View File

@ -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
}