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>2018-12-19 20:54:27 +0800
commit35c4bfe0326eecc3d2feeb592b6a0057038ebb3e (patch)
tree371e357b2135fc5fb3f3e1609fae31f015c1fc6b /dex/app.go
parent84c85fb081a0a821077e94c66beb391fa6fa86c9 (diff)
downloaddexon-35c4bfe0326eecc3d2feeb592b6a0057038ebb3e.tar.gz
dexon-35c4bfe0326eecc3d2feeb592b6a0057038ebb3e.tar.zst
dexon-35c4bfe0326eecc3d2feeb592b6a0057038ebb3e.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,