aboutsummaryrefslogtreecommitdiffstats
path: root/dex/app.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-10-19 18:52:38 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:50 +0800
commit00e8f2d99b3c6b27d8047712baf5bbb6150dc273 (patch)
treeb36879b60e89210e664a7007d08fcd5a990e613d /dex/app.go
parentb52b1b2106f075260674660638aa60fe5ec81f87 (diff)
downloaddexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.gz
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.bz2
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.lz
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.xz
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.tar.zst
dexon-00e8f2d99b3c6b27d8047712baf5bbb6150dc273.zip
consensus: dexcon: fetch config from state
Diffstat (limited to 'dex/app.go')
-rw-r--r--dex/app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dex/app.go b/dex/app.go
index 317711e94..ab23301d5 100644
--- a/dex/app.go
+++ b/dex/app.go
@@ -223,6 +223,7 @@ func (d *DexconApp) BlockDelivered(blockHash coreCommon.Hash, result coreTypes.F
Number: new(big.Int).SetUint64(result.Height),
Time: big.NewInt(result.Timestamp.Unix()),
Coinbase: common.BytesToAddress(block.ProposerID.Bytes()),
+ Position: block.Position,
WitnessHeight: block.Witness.Height,
WitnessRoot: witnessData.Root,
WitnessReceiptHash: witnessData.ReceiptHash,