|
|
@ -62,7 +62,7 @@ def tip(update, context):
|
|
|
|
tx = wownero.Wallet().transfer(dest_address=address, amount=wownero.as_wownero(amount), priority=2, account=tipper.account_index)
|
|
|
|
tx = wownero.Wallet().transfer(dest_address=address, amount=wownero.as_wownero(amount), priority=2, account=tipper.account_index)
|
|
|
|
if 'tx_hash' in tx:
|
|
|
|
if 'tx_hash' in tx:
|
|
|
|
h = tx['tx_hash']
|
|
|
|
h = tx['tx_hash']
|
|
|
|
msg = f'Tipped @{target_un} {amount} WOW! TX ID: [{h}](https://wownero.club/transaction/{h})'
|
|
|
|
msg = f'Tipped @{target_un} {amount} WOW\! TX ID: [{h}](https://wownero.club/transaction/{h})'
|
|
|
|
update.message.reply_text(msg, parse_mode=ParseMode.MARKDOWN_V2)
|
|
|
|
update.message.reply_text(msg, parse_mode=ParseMode.MARKDOWN_V2)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
logging.error(f'Transaction failure details for {tipper.telegram_user} ({tipper.telegram_id}): {tx}')
|
|
|
|
logging.error(f'Transaction failure details for {tipper.telegram_user} ({tipper.telegram_id}): {tx}')
|
|
|
|