Skip to content

Commit

Permalink
Merge pull request #62 from aadyanthaya/btc-amount-display-bug
Browse files Browse the repository at this point in the history
display the complete btc value #61
  • Loading branch information
DarrenWestwood authored May 19, 2023
2 parents 5a36de9 + 3aff951 commit 7bc5dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def __send_btc_payment_info(self, address, amount):
# Send a message containing the btc pay info
self.bot.send_message_markdown(
self.chat.id,
"To pay, send this amount:\n`%f`\nto this bitcoin address:\n`%s`" % (amount, address)
"To pay, send this amount:\n`{}`\nto this bitcoin address:\n`{}`".format(str(amount), address)
)

def __wait_for_photo(self, cancellable: bool = False) -> Union[List[telegram.PhotoSize], CancelSignal]:
Expand Down

0 comments on commit 7bc5dfb

Please sign in to comment.