refactor: remove unneeded calls to strprintf()

This commit is contained in:
fanquake committed 2021-12-14 10:09:42 +08:00
1 parent 5dd28e5cff
commit eca159c305
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ PSBTAnalysis AnalyzePSBT(PartiallySignedTransaction psbtx)
}
);
if (!MoneyRange(out_amt)) {
result.SetInvalid(strprintf("PSBT is not valid. Output amount invalid"));
result.SetInvalid("PSBT is not valid. Output amount invalid");
return result;
}