Browse Source

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

Anton Evangelatov 7 năm trước cách đây
mục cha
commit
764878d988
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      contracts/chequebook/cheque_test.go

+ 2 - 2
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 {