diff options
author | bojie <bojie@dexon.org> | 2019-03-16 15:02:53 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:58 +0800 |
commit | c296c4f50f9048a31679298fafa773af8cddb6f2 (patch) | |
tree | 30eddd7fdce7838390de2b0ba2e50c00e6235bc4 | |
parent | 37b46f3dc966ae578c3a0aedcda2ddb4e1a85444 (diff) | |
download | go-tangerine-c296c4f50f9048a31679298fafa773af8cddb6f2.tar go-tangerine-c296c4f50f9048a31679298fafa773af8cddb6f2.tar.gz go-tangerine-c296c4f50f9048a31679298fafa773af8cddb6f2.tar.bz2 go-tangerine-c296c4f50f9048a31679298fafa773af8cddb6f2.tar.lz go-tangerine-c296c4f50f9048a31679298fafa773af8cddb6f2.tar.xz go-tangerine-c296c4f50f9048a31679298fafa773af8cddb6f2.tar.zst go-tangerine-c296c4f50f9048a31679298fafa773af8cddb6f2.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(), } } |