Skip to content

Commit

Permalink
Merge branch 'testnet' of https://github.com/nebulasio/go-nebulas int…
Browse files Browse the repository at this point in the history
…o testnet
  • Loading branch information
fetang committed May 19, 2018
2 parents 7367e3b + 4c505e6 commit 038f778
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,9 @@ func submitTx(tx *Transaction, block *Block, ws WorldState,
// if reset failed, the tx should be given back
return true, err
}

// reserve dependency
ws.GetOrCreateUserAccount(tx.to.address)
}

if err := tx.recordGas(gas, ws); err != nil {
Expand Down

0 comments on commit 038f778

Please sign in to comment.