add minfeerate parameter to bip78 payjoin urls

This commit is contained in:
Craig Raw 2023-02-23 12:53:12 +02:00
parent 41636f7152
commit 9fc096569a

View file

@ -66,7 +66,7 @@ public class Payjoin {
try { try {
String base64Psbt = psbt.getPublicCopy().toBase64String(); String base64Psbt = psbt.getPublicCopy().toBase64String();
String appendQuery = "v=1"; String appendQuery = "v=1&minfeerate=" + AppServices.getMinimumRelayFeeRate();
int changeOutputIndex = getChangeOutputIndex(); int changeOutputIndex = getChangeOutputIndex();
long maxAdditionalFeeContribution = 0; long maxAdditionalFeeContribution = 0;
if(changeOutputIndex > -1) { if(changeOutputIndex > -1) {