diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-10-23 19:38:51 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:16 +0800 |
commit | 44ce26cb076c5852167c1ffc9eceff9148ee5477 (patch) | |
tree | 413cc5cf1f08175505b38320fd78ec01b3393e97 /dex | |
parent | 7bcd8d6b9daec0771d7e8e9b5bdbdc247731d1a3 (diff) | |
download | go-tangerine-44ce26cb076c5852167c1ffc9eceff9148ee5477.tar go-tangerine-44ce26cb076c5852167c1ffc9eceff9148ee5477.tar.gz go-tangerine-44ce26cb076c5852167c1ffc9eceff9148ee5477.tar.bz2 go-tangerine-44ce26cb076c5852167c1ffc9eceff9148ee5477.tar.lz go-tangerine-44ce26cb076c5852167c1ffc9eceff9148ee5477.tar.xz go-tangerine-44ce26cb076c5852167c1ffc9eceff9148ee5477.tar.zst go-tangerine-44ce26cb076c5852167c1ffc9eceff9148ee5477.zip |
dex: fix missing randomness assignment
Diffstat (limited to 'dex')
-rw-r--r-- | dex/app.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dex/app.go b/dex/app.go index b60291902..7de2bdc86 100644 --- a/dex/app.go +++ b/dex/app.go @@ -474,8 +474,9 @@ func (d *DexconApp) BlockDelivered(blockHash coreCommon.Hash, result coreTypes.F WitnessReceiptHash: witnessData.ReceiptHash, // TODO(bojie): fix it GasLimit: 8000000, - DexconMeta: dexconMeta, Difficulty: big.NewInt(1), + DexconMeta: dexconMeta, + Randomness: result.Randomness, }, transactions, nil, nil) _, err = d.blockchain.InsertPendingBlocks([]*types.Block{newBlock}) |