aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-02-22 15:18:53 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:22 +0800
commitd853316a6335cd7b7bf95cb045905239ad76ad2c (patch)
treefdc063f739adb1ed72fdbfd0d692cdf847d93de6 /cmd
parent2354d4aa747616a8fd4fb9482ada8042fd362139 (diff)
downloadgo-tangerine-d853316a6335cd7b7bf95cb045905239ad76ad2c.tar.gz
go-tangerine-d853316a6335cd7b7bf95cb045905239ad76ad2c.tar.zst
go-tangerine-d853316a6335cd7b7bf95cb045905239ad76ad2c.zip
zoo: reduce monkey value
Diffstat (limited to 'cmd')
-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,