From f9b560353409df41e891f869475268d638f79b87 Mon Sep 17 00:00:00 2001 From: Snazzah Date: Wed, 12 Aug 2020 02:32:06 -0500 Subject: [PATCH] Fix txid in withdraw --- src/commands/admin/withdraw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/admin/withdraw.js b/src/commands/admin/withdraw.js index 978b7f6..fa2cc92 100644 --- a/src/commands/admin/withdraw.js +++ b/src/commands/admin/withdraw.js @@ -29,7 +29,7 @@ module.exports = class Withdraw extends Command { const transaction = await response.json(); console.debug('withdrew from master wallet', transaction); return message.channel.createMessage(`Sent ${parseFloat(amount)} LBC to ${args[1]}.\n` + - `https://explorer.lbry.com/tx/${transaction.result.inputs[0].txid}`); + `https://explorer.lbry.com/tx/${transaction.result.txid}`); } get metadata() { return {