Skip to content

Commit

Permalink
Pass the ppss.web3_pp instead of web3_config into WrappedToken class (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored Jan 15, 2024
1 parent 9402e5f commit 995a103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdr_backend/payout/payout.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def do_rose_payout(ppss: PPSS, check_network: bool = True):

print("Converting wROSE to ROSE")
time.sleep(10)
wROSE = WrappedToken(web3_config, wROSE_addr)
wROSE = WrappedToken(ppss.web3_pp, wROSE_addr)
wROSE_bal = wROSE.balanceOf(web3_config.owner)
if wROSE_bal == 0:
print("wROSE balance is 0")
Expand Down

0 comments on commit 995a103

Please sign in to comment.