This commit is contained in:
nicolas.dorier
2020-06-19 13:24:14 +09:00
parent 3a16c24f5e
commit 93c655a149

View File

@@ -442,7 +442,7 @@ public async Task<PSBT> RequestPayjoin(
//////////// ////////////
if (proposal.CheckSanity() is List<PSBTError> errors && errors.Count > 0) if (proposal.CheckSanity() is List<PSBTError> errors && errors.Count > 0)
throw new PayjoinSenderException($"The proposal PSBT is not insance ({errors[0]})"); throw new PayjoinSenderException($"The proposal PSBT is not sane ({errors[0]})");
var proposalGlobalTx = proposal.GetGlobalTransaction(); var proposalGlobalTx = proposal.GetGlobalTransaction();
// Verify that the transaction version, and nLockTime are unchanged. // Verify that the transaction version, and nLockTime are unchanged.
@@ -571,7 +571,7 @@ int GetVirtualSize(ScriptPubKeyType? scriptPubKeyType)
} }
} }
// Finalized the signedPSBT and remove confidential information // Finalize the signedPSBT and remove confidential information
PSBT CreateOriginalPSBT(PSBT signedPSBT) PSBT CreateOriginalPSBT(PSBT signedPSBT)
{ {
var original = signedPSBT.Clone(); var original = signedPSBT.Clone();