diff options
author | fanquake <fanquake@gmail.com> | 2021-12-14 10:09:42 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-12-14 10:09:42 +0800 |
commit | eca159c305c1ff3d9b806755026a23bf2aad9a48 (patch) | |
tree | 2e835d221c19b1e2f7c17275cc1de45bc861111e /src/node | |
parent | 5dd28e5cff8a8177b969181ecb58d045e7f80a72 (diff) |
refactor: remove unneeded calls to strprintf()
Diffstat (limited to 'src/node')
-rw-r--r-- | src/node/psbt.cpp | 2 |
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; } |