From a0cee7bf86278a9d8cb74b62acd50122636201d6 Mon Sep 17 00:00:00 2001 From: Wei-Ning Huang Date: Tue, 23 Oct 2018 19:38:51 +0800 Subject: dex: fix missing randomness assignment --- dex/app.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dex') 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}) -- cgit