aboutsummaryrefslogtreecommitdiffstats
path: root/dex
diff options
context:
space:
mode:
Diffstat (limited to 'dex')
-rw-r--r--dex/app.go3
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})