From 9fc096569af3995bf59d8bfa92ffc1a440ce4da8 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Thu, 23 Feb 2023 12:53:12 +0200 Subject: [PATCH] add minfeerate parameter to bip78 payjoin urls --- src/main/java/com/sparrowwallet/sparrow/payjoin/Payjoin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/sparrow/payjoin/Payjoin.java b/src/main/java/com/sparrowwallet/sparrow/payjoin/Payjoin.java index 56593251..ff36b763 100644 --- a/src/main/java/com/sparrowwallet/sparrow/payjoin/Payjoin.java +++ b/src/main/java/com/sparrowwallet/sparrow/payjoin/Payjoin.java @@ -66,7 +66,7 @@ public class Payjoin { try { String base64Psbt = psbt.getPublicCopy().toBase64String(); - String appendQuery = "v=1"; + String appendQuery = "v=1&minfeerate=" + AppServices.getMinimumRelayFeeRate(); int changeOutputIndex = getChangeOutputIndex(); long maxAdditionalFeeContribution = 0; if(changeOutputIndex > -1) {