aboutsummaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-12-14 10:09:42 +0800
committerfanquake <fanquake@gmail.com>2021-12-14 10:09:42 +0800
commiteca159c305c1ff3d9b806755026a23bf2aad9a48 (patch)
tree2e835d221c19b1e2f7c17275cc1de45bc861111e /src/node
parent5dd28e5cff8a8177b969181ecb58d045e7f80a72 (diff)
refactor: remove unneeded calls to strprintf()
Diffstat (limited to 'src/node')
-rw-r--r--src/node/psbt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/psbt.cpp b/src/node/psbt.cpp
index 9ad65d15d2..0be2bdb3ef 100644
--- a/src/node/psbt.cpp
+++ b/src/node/psbt.cpp
@@ -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;
}