Skip to content

Commit

Permalink
Include ctx in send_random_nft_to_each
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyryn committed Sep 8, 2024
1 parent ee496a5 commit 7c318ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion greenwiz/utils/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ async def addresses_in_csv_from_msg_link(bot, link: str):
contents = await addrs_from_txt(msg.attachments[0])
return [x.split(",")[0] for x in contents]

async def send_random_nft_to_each(bot, addresses: typing.List[str], memo: str) -> typing.List[str]:
async def send_random_nft_to_each(bot, ctx, addresses: typing.List[str], memo: str) -> typing.List[str]:
"""Sends a random NFT to each wax address in a given list. ctx.sends a list of transaction hashes as it goes."""
from utils.settings import TIP_ACC_PERMISSION, DEFAULT_WAX_COLLECTION
from wax_chain.wax_contracts import atomicassets
Expand Down

0 comments on commit 7c318ee

Please sign in to comment.