diff options
author | Anton Evangelatov <anton.evangelatov@gmail.com> | 2018-02-26 17:36:26 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-02-26 17:36:26 +0800 |
commit | 764878d988e7c6673f1edfeea5a47a02c2579d84 (patch) | |
tree | 0f24590e711f88fda5ea8247435b0bc86078fe91 /contracts/chequebook/cheque_test.go | |
parent | 22fc6928d720e3cc1f090ce2891f553db1e076ab (diff) | |
download | go-tangerine-764878d988e7c6673f1edfeea5a47a02c2579d84.tar go-tangerine-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.gz go-tangerine-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.bz2 go-tangerine-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.lz go-tangerine-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.xz go-tangerine-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.zst go-tangerine-764878d988e7c6673f1edfeea5a47a02c2579d84.zip |
contracts/chequebook: increase interval between auto deposits (#16178)
Diffstat (limited to 'contracts/chequebook/cheque_test.go')
-rw-r--r-- | contracts/chequebook/cheque_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contracts/chequebook/cheque_test.go b/contracts/chequebook/cheque_test.go index b7555d081..6b6b28e65 100644 --- a/contracts/chequebook/cheque_test.go +++ b/contracts/chequebook/cheque_test.go @@ -281,8 +281,8 @@ func TestDeposit(t *testing.T) { t.Fatalf("expected balance %v, got %v", exp, chbook.Balance()) } - // autodeposit every 30ms if new cheque issued - interval := 30 * time.Millisecond + // autodeposit every 200ms if new cheque issued + interval := 200 * time.Millisecond chbook.AutoDeposit(interval, common.Big1, balance) _, err = chbook.Issue(addr1, amount) if err != nil { |