mirror of
https://github.com/bitcoin/bips.git
synced 2024-11-19 01:40:05 +01:00
additional comments
This commit is contained in:
parent
6d4b491b31
commit
e2778babfb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user