Skip to content

Commit a7ab4e4

Browse files
committed
minor merge conflict fix
1 parent d82e19a commit a7ab4e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/state_transition.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ func (st *StateTransition) preCheck() error {
392392
// nil evm execution result.
393393
func (st *StateTransition) TransitionDb() (*ExecutionResult, error) {
394394
// if this is a deposit tx, we only need to mint funds and no gas is used.
395-
if st.msg.IsDepositTx {
395+
if st.msg.IsDepositTx && len(st.msg.Data) == 0 {
396396
log.Debug("deposit tx minting funds", "to", *st.msg.To, "value", st.msg.Value)
397397
st.state.AddBalance(*st.msg.To, uint256.MustFromBig(st.msg.Value), tracing.BalanceIncreaseAstriaDepositTx)
398398
return &ExecutionResult{

0 commit comments

Comments
 (0)