Skip to content

Commit 33d1700

Browse files
committed
fix(wallet-manager): swap manager estimate error handling
1 parent 79da4fb commit 33d1700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/swap/src/manager.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const apiManagerMaker = (
190190
warnAllLeft(...responses)
191191

192192
if (responses.every(isLeft))
193-
return responses.find((res) => res.error.status !== 3) ?? invalid
193+
return responses.find((res) => res.error.status !== -3) ?? invalid
194194

195195
const estimates = responses
196196
.filter(isRight)

0 commit comments

Comments
 (0)