refactor: remove unneeded calls to strprintf()

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

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;
}