Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 9a0e670

Browse files
authored
Merge pull request #221 from bancorprotocol/220-strategy-error-in-multi-mode
bugfix strategy error
2 parents a9d8f5d + d8c23d3 commit 9a0e670

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fastlane_bot/events/pools/carbon_v1.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,9 @@ def update_from_contract(
126126
See base class.
127127
"""
128128
try:
129-
strategy = contract.strategy(self.state["cid"])
129+
strategy = contract.strategy(int(self.state["cid"]))
130130
except AttributeError:
131-
strategy = contract.caller.strategy(self.state["cid"])
131+
strategy = contract.caller.strategy(int(self.state["cid"]))
132132

133133
fake_event = {
134134
"args": {

0 commit comments

Comments
 (0)