diff options
author | Péter Szilágyi <peterke@gmail.com> | 2018-12-10 21:10:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-10 21:10:35 +0800 |
commit | 9fe5d200117bab0b2adbcf1d09629879366bcc54 (patch) | |
tree | 7449a43a27c17627540ffde7eb78a8a13ffbe1f7 /eth/backend.go | |
parent | dd98d1da9464c9ae6e1da69d7a41d4551f20bd8d (diff) | |
parent | 31b33349227715e8d1f8753d913892c1e35439d7 (diff) | |
download | dexon-9fe5d200117bab0b2adbcf1d09629879366bcc54.tar dexon-9fe5d200117bab0b2adbcf1d09629879366bcc54.tar.gz dexon-9fe5d200117bab0b2adbcf1d09629879366bcc54.tar.bz2 dexon-9fe5d200117bab0b2adbcf1d09629879366bcc54.tar.lz dexon-9fe5d200117bab0b2adbcf1d09629879366bcc54.tar.xz dexon-9fe5d200117bab0b2adbcf1d09629879366bcc54.tar.zst dexon-9fe5d200117bab0b2adbcf1d09629879366bcc54.zip |
Merge pull request #18028 from ryanschneider/blockhash-whitelist
cmd, eth: add support for `--whitelist <blocknum>=<hash>`
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go index 472140842..3f538d5f5 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -173,7 +173,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) { } eth.txPool = core.NewTxPool(config.TxPool, eth.chainConfig, eth.blockchain) - if eth.protocolManager, err = NewProtocolManager(eth.chainConfig, config.SyncMode, config.NetworkId, eth.eventMux, eth.txPool, eth.engine, eth.blockchain, chainDb); err != nil { + if eth.protocolManager, err = NewProtocolManager(eth.chainConfig, config.SyncMode, config.NetworkId, eth.eventMux, eth.txPool, eth.engine, eth.blockchain, chainDb, config.Whitelist); err != nil { return nil, err } |