Skip to content

Commit

Permalink
TX: CLNRest: remove redundant note
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Dec 16, 2024
1 parent 2771591 commit 909c891
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 19 deletions.
2 changes: 0 additions & 2 deletions backends/CoreLightningRequestHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
}
Expand All @@ -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
};
}
Expand Down
1 change: 0 additions & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
16 changes: 0 additions & 16 deletions views/Transaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ export default class TransactionView extends React.Component<
num_confirmations,
time_stamp,
destAddresses,
note,
getFee,
getFeePercentage,
status,
Expand Down Expand Up @@ -322,21 +321,6 @@ export default class TransactionView extends React.Component<
{!!destAddresses && (
<React.Fragment>{addresses}</React.Fragment>
)}
{!!note && (
<KeyValue
keyValue={localeString('views.Transaction.note')}
value={
<Text
style={{
...styles.valueWithLink,
color: themeColor('highlight')
}}
>
{note}
</Text>
}
/>
)}

{raw_tx_hex && (
<>
Expand Down

0 comments on commit 909c891

Please sign in to comment.