expicit set UniValue type to avoid empty values
This commit is contained in:
committed by
Jack Grigg
parent
9756b7bd29
commit
38fc4b7090
@@ -296,7 +296,7 @@ public:
|
||||
Array GetJSON()
|
||||
{
|
||||
DoPush();
|
||||
Array array;
|
||||
UniValue array(UniValue::VARR);
|
||||
array.push_back(FormatScript(spendTx.vin[0].scriptSig));
|
||||
array.push_back(FormatScript(creditTx.vout[0].scriptPubKey));
|
||||
array.push_back(FormatScriptFlags(flags));
|
||||
|
||||
Reference in New Issue
Block a user