diff options
author | bojie <bojie@dexon.org> | 2019-03-16 15:02:53 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:50:04 +0800 |
commit | 6e92ea4bce5cb9792f8433b172af0726e599af4f (patch) | |
tree | e8ff1661b57c65ef7379a5db7677326189eb755d | |
parent | 18f93bfb5baa296f41ce6a22df4311dee672b08b (diff) | |
download | dexon-6e92ea4bce5cb9792f8433b172af0726e599af4f.tar.gz dexon-6e92ea4bce5cb9792f8433b172af0726e599af4f.tar.zst dexon-6e92ea4bce5cb9792f8433b172af0726e599af4f.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(), } } |