contracts/chequebook: increase interval between auto deposits (#16178)

pull/16056/merge
Anton Evangelatov 7 years ago committed by Péter Szilágyi
parent 22fc6928d7
commit 764878d988
  1. 4
      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 {

Loading…
Cancel
Save