Skip to content

Commit 4b8f751

Browse files
committed
refactor: formatting
1 parent 4099d0c commit 4b8f751

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

src/verification/xrp-payment-nonexistence/xrp-payment-nonexistence.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ export function responseXRPPaymentNonexistence(
3434
lowerBoundaryBlock: BlockResult,
3535
request: XRPPaymentNonexistence_Request,
3636
) {
37-
Logger.debug("Processing transactions to prove non existence " + dbTransactions.length);
37+
Logger.debug(
38+
'Processing transactions to prove non existence ' + dbTransactions.length,
39+
);
3840
for (const dbTransaction of dbTransactions) {
3941
let fullTxData: XrpTransaction;
4042
try {

src/verification/xrp-payment/xrp-payment.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,12 @@ export function responseXRPPayment(
105105
intendedReceivedAmount:
106106
paymentSummary.response.intendedReceivingAmount.toString(),
107107
hasMemoData: paymentSummary.response.hasMemoData,
108-
firstMemoData: '0x' + (paymentSummary.response.hasMemoData
109-
? paymentSummary.response.memoData
110-
: '').toLowerCase(),
108+
firstMemoData:
109+
'0x' +
110+
(paymentSummary.response.hasMemoData
111+
? paymentSummary.response.memoData
112+
: ''
113+
).toLowerCase(),
111114
hasDestinationTag: paymentSummary.response.hasDestinationTag,
112115
destinationTag: paymentSummary.response.hasDestinationTag
113116
? paymentSummary.response.destinationTag.toString()

0 commit comments

Comments
 (0)