diff --git a/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/extra/lightningbitcoin/wallets/lnd/LndWallet.java b/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/extra/lightningbitcoin/wallets/lnd/LndWallet.java index 0471730ec..e99966b48 100644 --- a/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/extra/lightningbitcoin/wallets/lnd/LndWallet.java +++ b/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/extra/lightningbitcoin/wallets/lnd/LndWallet.java @@ -116,7 +116,7 @@ private Payment.FeeLimit getFeeLimit(String fee) { private static Map getCustomRecords(String description) { Map customRecords = new HashMap<>(); if (description != null && !description.trim().isEmpty()) { - customRecords.put(1L, description.getBytes()); + customRecords.put(70000L, description.getBytes()); } return customRecords; } diff --git a/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/extra/lightningbitcoin/wallets/lnd/dto/Payment.java b/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/extra/lightningbitcoin/wallets/lnd/dto/Payment.java index f14ef05fe..d8f788596 100644 --- a/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/extra/lightningbitcoin/wallets/lnd/dto/Payment.java +++ b/server_extensions_extra/src/main/java/com/generalbytes/batm/server/extensions/extra/lightningbitcoin/wallets/lnd/dto/Payment.java @@ -64,8 +64,8 @@ public String toString() { @Override public String toString() { String rid = ""; - if (dest_custom_records != null && !dest_custom_records.containsKey(1L)) { - rid = new String(dest_custom_records.get(1L), StandardCharsets.UTF_8); + if (dest_custom_records != null && !dest_custom_records.containsKey(70000L)) { + rid = new String(dest_custom_records.get(70000L), StandardCharsets.UTF_8); } return "Payment{" + amt + " sat, fee limit: " + fee_limit + " to " + payment_request + ", rid: " + rid + '}'; }