summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bip-0078.mediawiki2
1 files changed, 2 insertions, 0 deletions
diff --git a/bip-0078.mediawiki b/bip-0078.mediawiki
index f2fd04d..d86a323 100644
--- a/bip-0078.mediawiki
+++ b/bip-0078.mediawiki
@@ -406,6 +406,7 @@ public async Task<PSBT> RequestPayjoin(
PayjoinClientParameters optionalParameters)
{
Log("signed PSBT" + signedPSBT);
+ // Extracting the pj link.
var endpoint = bip21.ExtractPayjointEndpoint();
if (signedPSBT.IsAllFinalized())
throw new InvalidOperationException("The original PSBT should not be finalized.");
@@ -428,6 +429,7 @@ public async Task<PSBT> RequestPayjoin(
{
originalOutputs.Enqueue((originalGlobalTx.Outputs[i], signedPSBT.Outputs[i]));
}
+ // Add the client side query string parameters
endpoint = ApplyOptionalParameters(endpoint, optionalParameters);
Log("original PSBT" + originalPSBT);
PSBT proposal = await SendOriginalTransaction(endpoint, originalPSBT, cancellationToken);