aboutsummaryrefslogtreecommitdiffstats
path: root/params
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-16 19:26:29 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commitdad90cd32dc6c80f0decbf658bd35e59c794041e (patch)
tree6af5378e09d209b7740ee802ee2f459c3a8a38a2 /params
parente0c049d85297925a66cda35c1bc345e7895a14cf (diff)
downloaddexon-dad90cd32dc6c80f0decbf658bd35e59c794041e.tar
dexon-dad90cd32dc6c80f0decbf658bd35e59c794041e.tar.gz
dexon-dad90cd32dc6c80f0decbf658bd35e59c794041e.tar.bz2
dexon-dad90cd32dc6c80f0decbf658bd35e59c794041e.tar.lz
dexon-dad90cd32dc6c80f0decbf658bd35e59c794041e.tar.xz
dexon-dad90cd32dc6c80f0decbf658bd35e59c794041e.tar.zst
dexon-dad90cd32dc6c80f0decbf658bd35e59c794041e.zip
dex/core: misc bug fixes
Diffstat (limited to 'params')
-rw-r--r--params/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/params/config.go b/params/config.go
index b48a805d5..86f89de35 100644
--- a/params/config.go
+++ b/params/config.go
@@ -204,7 +204,7 @@ type DexconConfig struct {
// String implements the stringer interface, returning the consensus engine details.
func (d *DexconConfig) String() string {
- return fmt.Sprintf("{GenesisCRSText: %v NumChains: %v LambdaBA: %v LambdaDKG: %v K: %v PhiRatio: %v NotarySetSize: %v DKGSetSize: %v RoundInterval: %v MinBlockInterval: %v MaxBlockInterval: %v",
+ return fmt.Sprintf("{GenesisCRSText: %v NumChains: %v LambdaBA: %v LambdaDKG: %v K: %v PhiRatio: %v NotarySetSize: %v DKGSetSize: %v RoundInterval: %v MinBlockInterval: %v MaxBlockInterval: %v BlockReward: %v",
d.GenesisCRSText,
d.NumChains,
d.LambdaBA,
@@ -216,6 +216,7 @@ func (d *DexconConfig) String() string {
d.RoundInterval,
d.MinBlockInterval,
d.MaxBlockInterval,
+ d.BlockReward,
)
}