added log

This commit is contained in:
Arpit Temani 2023-12-03 17:16:37 +05:30
parent 91ff270cd9
commit 4e3e1de14c

View file

@ -168,6 +168,7 @@ func New(stack *node.Node, config *ethconfig.Config) (*Ethereum, error) {
eth.APIBackend = &EthAPIBackend{stack.Config().ExtRPCEnabled(), stack.Config().AllowUnprotectedTxs, eth, nil}
if eth.APIBackend.allowUnprotectedTxs {
log.Info("------Unprotected transactions allowed-------")
config.TxPool.AllowUnprotectedTxs = true
}