all: remove term "whitelist" in comments and log messages (#23294)

This commit is contained in:
baptiste-b-pegasys
2021-07-29 17:36:15 +02:00
committed by GitHub
parent 295bc35ecf
commit 3526f69047
3 changed files with 4 additions and 4 deletions

View File

@ -635,8 +635,8 @@ func (pool *TxPool) validateTx(tx *types.Transaction, local bool) error {
// pending or queued one, it overwrites the previous transaction if its price is higher.
//
// If a newly added transaction is marked as local, its sending account will be
// whitelisted, preventing any associated transaction from being dropped out of the pool
// due to pricing constraints.
// be added to the allowlist, preventing any associated transaction from being dropped
// out of the pool due to pricing constraints.
func (pool *TxPool) add(tx *types.Transaction, local bool) (replaced bool, err error) {
// If the transaction is already known, discard it
hash := tx.Hash()