Skip to content

Commit f63638c

Browse files
committed
allow neg apy values for resolv
1 parent f3c1ad3 commit f63638c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/handlers/triggerAdaptor.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ const main = async (body) => {
117117
apy: p.apy < 0 ? 0 : p.apy,
118118
apyBase:
119119
protocolConfig[body.adaptor]?.category === 'Options' ||
120-
['mellow-protocol', 'sommelier', 'abracadabra'].includes(body.adaptor)
120+
['mellow-protocol', 'sommelier', 'abracadabra', 'resolv'].includes(
121+
body.adaptor
122+
)
121123
? p.apyBase
122124
: p.apyBase < 0
123125
? 0

0 commit comments

Comments
 (0)