xeth: fix signing transaction after unlock
This commit is contained in:
parent
0395c174ca
commit
0f67f1e9de
@ -360,7 +360,7 @@ func (self *XEth) sign(tx *types.Transaction, from []byte, didUnlock bool) error
|
|||||||
return fmt.Errorf("could not unlock sender account")
|
return fmt.Errorf("could not unlock sender account")
|
||||||
}
|
}
|
||||||
// retry signing, the account should now be unlocked.
|
// retry signing, the account should now be unlocked.
|
||||||
self.sign(tx, from, true)
|
return self.sign(tx, from, true)
|
||||||
} else if err != nil {
|
} else if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user