From 909c891107796d0258d9f1a6be87ace89837ee5c Mon Sep 17 00:00:00 2001 From: Evan Kaloudis Date: Mon, 16 Dec 2024 18:47:03 -0500 Subject: [PATCH] TX: CLNRest: remove redundant note --- backends/CoreLightningRequestHandler.ts | 2 -- locales/en.json | 1 - views/Transaction.tsx | 16 ---------------- 3 files changed, 19 deletions(-) diff --git a/backends/CoreLightningRequestHandler.ts b/backends/CoreLightningRequestHandler.ts index d0af433a8..7c5470fce 100644 --- a/backends/CoreLightningRequestHandler.ts +++ b/backends/CoreLightningRequestHandler.ts @@ -340,7 +340,6 @@ export const getChainTransactions = async () => { num_confirmations: getinfo.blockheight - withdrawal[6], time_stamp: withdrawal[5], txid: tx.hash, - note: 'on-chain withdrawal', dest_addresses: tx.dest_addresses }; } @@ -352,7 +351,6 @@ export const getChainTransactions = async () => { num_confirmations: getinfo.blockheight - deposit[6], time_stamp: deposit[5], txid: tx.hash, - note: 'on-chain deposit', dest_addresses: tx.dest_addresses }; } diff --git a/locales/en.json b/locales/en.json index af8098fba..343387f39 100644 --- a/locales/en.json +++ b/locales/en.json @@ -957,7 +957,6 @@ "views.Transaction.title": "Transaction", "views.Transaction.totalFees": "Total Fees", "views.Transaction.transactionHash": "Transaction Hash", - "views.Transaction.note": "Transaction Note", "views.Transaction.blockHash": "Block Hash", "views.Transaction.blockHeight": "Block Height", "views.Transaction.numConf": "Number of Confirmations", diff --git a/views/Transaction.tsx b/views/Transaction.tsx index 0733c18c8..2d7f949ee 100644 --- a/views/Transaction.tsx +++ b/views/Transaction.tsx @@ -76,7 +76,6 @@ export default class TransactionView extends React.Component< num_confirmations, time_stamp, destAddresses, - note, getFee, getFeePercentage, status, @@ -322,21 +321,6 @@ export default class TransactionView extends React.Component< {!!destAddresses && ( {addresses} )} - {!!note && ( - - {note} - - } - /> - )} {raw_tx_hex && ( <>