mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
miner: fix pop wrong tx from normal txs queue, close XFN-37 (#1623)
This commit is contained in:
parent
45f7597c97
commit
0677ab40a2
1 changed files with 0 additions and 2 deletions
|
|
@ -970,7 +970,6 @@ func (w *Work) commitTransactions(mux *event.TypeMux, balanceFee map[common.Addr
|
|||
copyState, _ := bc.State()
|
||||
if err := core.ValidateXDCZApplyTransaction(bc, nil, copyState, common.BytesToAddress(data[4:])); err != nil {
|
||||
log.Debug("XDCZApply: invalid token", "token", common.BytesToAddress(data[4:]).Hex())
|
||||
txs.Pop()
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
|
@ -979,7 +978,6 @@ func (w *Work) commitTransactions(mux *event.TypeMux, balanceFee map[common.Addr
|
|||
copyState, _ := bc.State()
|
||||
if err := core.ValidateXDCXApplyTransaction(bc, nil, copyState, common.BytesToAddress(data[4:])); err != nil {
|
||||
log.Debug("XDCXApply: invalid token", "token", common.BytesToAddress(data[4:]).Hex())
|
||||
txs.Pop()
|
||||
continue
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue