]> Git Repo - VerusCoin.git/commitdiff
Remove unused specifier from format string.
authorSimon <[email protected]>
Thu, 9 May 2019 03:32:04 +0000 (20:32 -0700)
committerSimon <[email protected]>
Thu, 9 May 2019 03:51:13 +0000 (20:51 -0700)
The extra specifier meant that a runtime error would be thrown
during Sprout to Sapling migration if `zrpcunsafe` logging
was enabled:
"tinyformat: Too many conversion specifiers in format string"

src/transaction_builder.cpp

index 64f8238b80d844f18ce2b2c5413d5dead5aecbb6..6c9da0656bcd16ec9253b2bbccb560eb8d8e7822 100644 (file)
@@ -677,7 +677,7 @@ void TransactionBuilder::CreateJSDescription(
     std::array<size_t, ZC_NUM_JS_INPUTS>& inputMap,
     std::array<size_t, ZC_NUM_JS_OUTPUTS>& outputMap)
 {
-    LogPrint("zrpcunsafe", "%s: creating joinsplit at index %d (vpub_old=%s, vpub_new=%s, in[0]=%s, in[1]=%s, out[0]=%s, out[1]=%s)\n",
+    LogPrint("zrpcunsafe", "CreateJSDescription: creating joinsplit at index %d (vpub_old=%s, vpub_new=%s, in[0]=%s, in[1]=%s, out[0]=%s, out[1]=%s)\n",
         mtx.vjoinsplit.size(),
         FormatMoney(vpub_old), FormatMoney(vpub_new),
         FormatMoney(vjsin[0].note.value()), FormatMoney(vjsin[1].note.value()),
This page took 0.023484 seconds and 4 git commands to generate.