aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-02-22 15:18:53 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:50:02 +0800
commit83c15169a8da268ae0989a52c8e4c663519d0a79 (patch)
tree9e87257bc6bf7a20d120110067737c97d71ef25d
parent2cdb892937671626d54e96e29efd4387c873935f (diff)
downloaddexon-83c15169a8da268ae0989a52c8e4c663519d0a79.tar.gz
dexon-83c15169a8da268ae0989a52c8e4c663519d0a79.tar.zst
dexon-83c15169a8da268ae0989a52c8e4c663519d0a79.zip
zoo: reduce monkey value
-rw-r--r--cmd/zoo/monkey/monkey.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/zoo/monkey/monkey.go b/cmd/zoo/monkey/monkey.go
index 5015a0b09..2afffa87c 100644
--- a/cmd/zoo/monkey/monkey.go
+++ b/cmd/zoo/monkey/monkey.go
@@ -233,7 +233,7 @@ func (m *Monkey) Distribute() {
for i, key := range m.keys {
address := crypto.PubkeyToAddress(key.PublicKey)
amount := new(big.Int)
- amount.SetString("100000000000000000000", 10)
+ amount.SetString("1000000000000000000", 10)
ctxs[i] = &transferContext{
Key: m.source,
ToAddress: address,
@@ -256,7 +256,7 @@ loop:
for i, key := range m.keys {
to := crypto.PubkeyToAddress(m.keys[rand.Int()%len(m.keys)].PublicKey)
amount := new(big.Int)
- amount.SetString(fmt.Sprintf("%d000000000000000", rand.Intn(10)+1), 10)
+ amount.SetString(fmt.Sprintf("%d0000000000000", rand.Intn(10)+1), 10)
ctx := &transferContext{
Key: key,
ToAddress: to,