Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
metacertain committed Jun 14, 2021
1 parent 6fa570f commit 12cff49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/accounting/accounting_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func TestAccountingAddOriginatedBalance(t *testing.T) {
store := mock.NewStateStore()
defer store.Close()

acc, err := accounting.NewAccounting(testPaymentThreshold, testPaymentTolerance, testPaymentEarly, logger, store, nil, big.NewInt(testRefreshRate))
acc, err := accounting.NewAccounting(testPaymentThreshold, testPaymentTolerance, testPaymentEarly, logger, store, nil, big.NewInt(testRefreshRate), p2pmock.New())
if err != nil {
t.Fatal(err)
}
Expand Down Expand Up @@ -1108,7 +1108,7 @@ func TestAccountingCallPaymentFailureRetries(t *testing.T) {
store := mock.NewStateStore()
defer store.Close()

acc, err := accounting.NewAccounting(testPaymentThreshold, testPaymentTolerance, testPaymentEarly, logger, store, nil, big.NewInt(1))
acc, err := accounting.NewAccounting(testPaymentThreshold, testPaymentTolerance, testPaymentEarly, logger, store, nil, big.NewInt(1), p2pmock.New())
if err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 12cff49

Please sign in to comment.