]> Git Repo - VerusCoin.git/blobdiff - src/core_write.cpp
test
[VerusCoin.git] / src / core_write.cpp
index b6fd7fe87738be5300356045082c57e2ef1d90d3..c3babec2fc0a1ce56492fd6fd15ceef696af0cac 100644 (file)
@@ -127,7 +127,7 @@ void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry)
     }
     entry.pushKV("vout", vout);
 
-    if (hashBlock != 0)
+    if (!hashBlock.IsNull())
         entry.pushKV("blockhash", hashBlock.GetHex());
 
     entry.pushKV("hex", EncodeHexTx(tx)); // the hex-encoded transaction. used the name "hex" to be consistent with the verbose output of "getrawtransaction".
This page took 0.024324 seconds and 4 git commands to generate.