aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/chequebook
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-02-26 17:36:26 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-02-26 17:36:26 +0800
commit764878d988e7c6673f1edfeea5a47a02c2579d84 (patch)
tree0f24590e711f88fda5ea8247435b0bc86078fe91 /contracts/chequebook
parent22fc6928d720e3cc1f090ce2891f553db1e076ab (diff)
downloaddexon-764878d988e7c6673f1edfeea5a47a02c2579d84.tar
dexon-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.gz
dexon-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.bz2
dexon-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.lz
dexon-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.xz
dexon-764878d988e7c6673f1edfeea5a47a02c2579d84.tar.zst
dexon-764878d988e7c6673f1edfeea5a47a02c2579d84.zip
contracts/chequebook: increase interval between auto deposits (#16178)
Diffstat (limited to 'contracts/chequebook')
-rw-r--r--contracts/chequebook/cheque_test.go4
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 {