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@byzantine-lab.io>2019-06-12 17:23:39 +0800
commit0e12c9284efdf72a376f75f180bac7968d6fb382 (patch)
tree1b06f8f9483bff246dbeba12c7445780a595b21a /dex/app.go
parent93563f41410b964454f23229cfabe1ec1ba735f5 (diff)
downloadgo-tangerine-0e12c9284efdf72a376f75f180bac7968d6fb382.tar.gz
go-tangerine-0e12c9284efdf72a376f75f180bac7968d6fb382.tar.zst
go-tangerine-0e12c9284efdf72a376f75f180bac7968d6fb382.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,