Skip to content

Commit

Permalink
Merge pull request czbag#4 from ShampooWoo/main
Browse files Browse the repository at this point in the history
bug-fix: dmail send fail bug
  • Loading branch information
czbag authored Nov 2, 2023
2 parents 421f7c9 + 3ad9da4 commit 381d5d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/dmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def send_mail(self):
data = self.contract.encodeABI("send_mail", args=(email, theme))

tx_data = await self.get_tx_data()
tx_data.update({"data": data})
tx_data.update({"data": data, "to": self.w3.to_checksum_address(DMAIL_CONTRACT)})

signed_txn = await self.sign(tx_data)

Expand Down

0 comments on commit 381d5d7

Please sign in to comment.