From c292584bf5c08031689f1fc080fde2c6b3b78218 Mon Sep 17 00:00:00 2001 From: bojie Date: Sat, 16 Mar 2019 15:02:53 +0800 Subject: app: set delivered height correctly (#259) --- dex/app.go | 1 + 1 file changed, 1 insertion(+) diff --git a/dex/app.go b/dex/app.go index 8caa84837..7a1bb4cf8 100644 --- a/dex/app.go +++ b/dex/app.go @@ -70,6 +70,7 @@ func NewDexconApp(txPool *core.TxPool, blockchain *core.BlockChain, gov *DexconG addressNonce: map[common.Address]uint64{}, addressCost: map[common.Address]*big.Int{}, addressCounter: map[common.Address]uint64{}, + deliveredHeight: blockchain.CurrentBlock().NumberU64(), } } -- cgit