diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-19 18:52:38 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 271a7b680af9b62ed2cdfb25975a2aa901d9828e (patch) | |
tree | da7f7c08d005e1374dc151100fb429e00ccad5f2 /dex/app.go | |
parent | 3af359c1680a260bac6729bcc6c5a85ded247109 (diff) | |
download | dexon-271a7b680af9b62ed2cdfb25975a2aa901d9828e.tar dexon-271a7b680af9b62ed2cdfb25975a2aa901d9828e.tar.gz dexon-271a7b680af9b62ed2cdfb25975a2aa901d9828e.tar.bz2 dexon-271a7b680af9b62ed2cdfb25975a2aa901d9828e.tar.lz dexon-271a7b680af9b62ed2cdfb25975a2aa901d9828e.tar.xz dexon-271a7b680af9b62ed2cdfb25975a2aa901d9828e.tar.zst dexon-271a7b680af9b62ed2cdfb25975a2aa901d9828e.zip |
consensus: dexcon: fetch config from state
Diffstat (limited to 'dex/app.go')
-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 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, |