diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-02-22 15:18:53 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:57 +0800 |
commit | 502d5c79819109bbed2adc91ee8b3efdcbd1ddfa (patch) | |
tree | 7edf3725ef9072d67ef78611ec0ebbb24db145fb /cmd | |
parent | 11e2de8c43f867764d4dd1146d467cb6e9bf114b (diff) | |
download | dexon-502d5c79819109bbed2adc91ee8b3efdcbd1ddfa.tar.gz dexon-502d5c79819109bbed2adc91ee8b3efdcbd1ddfa.tar.zst dexon-502d5c79819109bbed2adc91ee8b3efdcbd1ddfa.zip |
zoo: reduce monkey value
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zoo/monkey/monkey.go | 4 |
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, |