aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zoo/monkey/monkey.go
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-03-12 12:19:09 +0800
commitf029106315852918f894417cfa54a27819159626 (patch)
tree1ee2ade73113dfb7f91574f747a085459eb4e4e9 /cmd/zoo/monkey/monkey.go
parentc9104455be030e69fd499d6df646c3e0f021a9c0 (diff)
downloaddexon-f029106315852918f894417cfa54a27819159626.tar.gz
dexon-f029106315852918f894417cfa54a27819159626.tar.zst
dexon-f029106315852918f894417cfa54a27819159626.zip
zoo: reduce monkey value
Diffstat (limited to 'cmd/zoo/monkey/monkey.go')
-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,