diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-05 18:33:46 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | bc1a505da249e02bc0954f65a1bfce23ae31b310 (patch) | |
tree | e966a88a0a223a669bced081795bbf3e51633ea0 | |
parent | 7bf517ad13afa1d7d7fa1841f4717756639685e4 (diff) | |
download | dexon-bc1a505da249e02bc0954f65a1bfce23ae31b310.tar.gz dexon-bc1a505da249e02bc0954f65a1bfce23ae31b310.tar.zst dexon-bc1a505da249e02bc0954f65a1bfce23ae31b310.zip |
HACK: enable TX handling temporarily
-rw-r--r-- | dex/handler.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dex/handler.go b/dex/handler.go index 68c682eda..76c500406 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -159,6 +159,9 @@ func NewProtocolManager( receiveCh: make(chan interface{}, 1024), } + // TODO(w): remove this hack once we have fix block processing. + atomic.StoreUint32(&manager.acceptTxs, 1) + // Figure out whether to allow fast sync or not if mode == downloader.FastSync && blockchain.CurrentBlock().NumberU64() > 0 { log.Warn("Blockchain not empty, fast sync disabled") |