Skip to content

Commit

Permalink
remove tx at sip
Browse files Browse the repository at this point in the history
  • Loading branch information
wincenteam committed Oct 21, 2019
1 parent d0c1a03 commit 77a718b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,12 @@ func (env *Work) commitTransactions(mux *event.TypeMux, txs *types.TransactionsB
break
}

if env.header.Number.Uint64() == seroparam.SIP5() {
txs.Shift()
env.errHandledTxs = append(env.errHandledTxs, tx)
continue
}

// Start executing the transaction
env.state.Prepare(tx.Hash(), common.Hash{}, env.tcount)

Expand Down

0 comments on commit 77a718b

Please sign in to comment.