Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
liam.lai committed Nov 23, 2024
1 parent a395734 commit 075cd35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion miner/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -1008,7 +1008,11 @@ func (env *Work) commitTransactions(mux *event.TypeMux, balanceFee map[common.Ad

//HF number for black-list
to := tx.To()
log.Info("[commitTransactions] tx", to.Hex())
if to != nil && tx.From() != nil {
log.Info("[commitTransactions] tx", "to", to.Hex(), "from", tx.From().Hex())
} else {
log.Info("[commitTransactions] nil to")
}

if (env.header.Number.Uint64() >= common.BlackListHFNumber) && !common.IsTestnet {
from := tx.From()
Expand Down

0 comments on commit 075cd35

Please sign in to comment.