diff options
author | bojie <bojie@dexon.org> | 2019-03-16 15:02:53 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:22 +0800 |
commit | c292584bf5c08031689f1fc080fde2c6b3b78218 (patch) | |
tree | ea55685d81971fd7e2a221ec5314f7edcc2157d9 | |
parent | 2106d729745938a123ce502dcea9541d2b7b3fa5 (diff) | |
download | go-tangerine-c292584bf5c08031689f1fc080fde2c6b3b78218.tar.gz go-tangerine-c292584bf5c08031689f1fc080fde2c6b3b78218.tar.zst go-tangerine-c292584bf5c08031689f1fc080fde2c6b3b78218.zip |
app: set delivered height correctly (#259)
-rw-r--r-- | dex/app.go | 1 |
1 files changed, 1 insertions, 0 deletions
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(), } } |