Skip to content

Commit

Permalink
cost more gas when receipt first receive assetID
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickstar619 committed May 9, 2019
1 parent 1346266 commit e79598e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processor/transition.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func (st *StateTransition) TransitionDb() (ret []byte, usedGas uint64, failed bo
if err != nil {
return nil, 0, true, err, vmerr
}
intrinsicGas += st.evm.CheckReceipt()
intrinsicGas += st.evm.CheckReceipt(st.action)
if err := st.useGas(intrinsicGas); err != nil {
return nil, 0, true, err, vmerr
}
Expand Down

0 comments on commit e79598e

Please sign in to comment.