mirror of https://github.com/poanetwork/gecko.git
Allow fees to be paid with the imported balance in the ImportTx
This commit is contained in:
parent
c814d42611
commit
a26f76de91
|
@ -163,11 +163,11 @@ func (tx *ImportTx) SemanticVerify(db database.Database) error {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
account, err = account.Remove(0, tx.Nonce)
|
||||
account, err = account.Add(amount)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
account, err = account.Add(amount)
|
||||
account, err = account.Remove(0, tx.Nonce)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue