diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-26 11:16:22 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:58 +0800 |
commit | 78b707cebf4b3bc101e0793f14f9cac7323bff04 (patch) | |
tree | d1c2c050b35b967c808a3cb51603a5850152acb9 /core/chain_makers.go | |
parent | 29f658cd915af6e489abce7f897d7f1a0768ca64 (diff) | |
download | dexon-78b707cebf4b3bc101e0793f14f9cac7323bff04.tar dexon-78b707cebf4b3bc101e0793f14f9cac7323bff04.tar.gz dexon-78b707cebf4b3bc101e0793f14f9cac7323bff04.tar.bz2 dexon-78b707cebf4b3bc101e0793f14f9cac7323bff04.tar.lz dexon-78b707cebf4b3bc101e0793f14f9cac7323bff04.tar.xz dexon-78b707cebf4b3bc101e0793f14f9cac7323bff04.tar.zst dexon-78b707cebf4b3bc101e0793f14f9cac7323bff04.zip |
core: set extended round block reward to zero (#298)
To discourage DKG set from prolonging the round indefinitely, we set the
block reward of the extended round to 0. The gas fee is send to the
DEXON governance owner for safe keeping and later used by the foundation.
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index 27aff215c..f57eb37ff 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -86,6 +86,7 @@ func (b *BlockGen) SetNonce(nonce types.BlockNonce) { // added. Notably, contract code relying on the BLOCKHASH instruction // will panic during execution. func (b *BlockGen) AddTx(tx *types.Transaction) { + TestingMode = true b.AddTxWithChain(nil, tx) } |