From f029106315852918f894417cfa54a27819159626 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Fri, 22 Feb 2019 15:18:53 +0800 Subject: zoo: reduce monkey value --- cmd/zoo/monkey/monkey.go | 4 ++-- 1 file 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, -- cgit