From e2778babfb99ef011270fcda2e29ce076d383527 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 19 Jun 2020 14:31:19 +0900 Subject: additional comments --- bip-0078.mediawiki | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bip-0078.mediawiki') 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 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 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); -- cgit v1.2.3