mirror of
https://git.wownero.com/lza_menace/tg-bot.git
synced 2024-08-15 00:23:12 +00:00
use new wownero.club url for explorer
This commit is contained in:
parent
63a1939fd0
commit
315019a8ff
2 changed files with 2 additions and 2 deletions
|
@ -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.xmrauctions.com/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}')
|
||||||
|
|
|
@ -43,7 +43,7 @@ def withdraw(update, context):
|
||||||
tx = wownero.Wallet().transfer(dest_address=address, amount=wownero.as_wownero(amount), priority=2, account=sender.account_index)
|
tx = wownero.Wallet().transfer(dest_address=address, amount=wownero.as_wownero(amount), priority=2, account=sender.account_index)
|
||||||
if 'tx_hash' in tx:
|
if 'tx_hash' in tx:
|
||||||
h = tx['tx_hash']
|
h = tx['tx_hash']
|
||||||
msg = f'Sent {amount} WOW! TX ID: [{h}](https://wownero.xmrauctions.com/transaction/{h})'
|
msg = f'Sent {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 {sender.telegram_user} ({sender.telegram_id}): {tx}')
|
logging.error(f'Transaction failure details for {sender.telegram_user} ({sender.telegram_id}): {tx}')
|
||||||
|
|
Loading…
Reference in a new issue