Skip to content

Commit 791c1c1

Browse files
committed
chore: fix test
1 parent 548ca61 commit 791c1c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/market/fundmanager.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package market
22

33
import (
44
"context"
5+
"errors"
56
"fmt"
67
"sync"
78

@@ -509,7 +510,7 @@ func (a *fundedAddress) processWithdrawals(withdrawals []*fundRequest) (msgCid c
509510
if !withdrawalAmt.IsZero() {
510511
msg += fmt.Sprintf(" - queued withdrawals (%s)", types.FIL(withdrawalAmt))
511512
}
512-
err := fmt.Errorf(msg)
513+
err := errors.New(msg)
513514
a.debugf("%s", err)
514515
req.Complete(cid.Undef, err)
515516
continue

0 commit comments

Comments
 (0)