use new wownero.club url for explorer

This commit is contained in:
lza_menace 2020-08-06 01:25:07 -07:00
parent 63a1939fd0
commit 315019a8ff
2 changed files with 2 additions and 2 deletions

View file

@ -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}')

View file

@ -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}')