mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
expicit set UniValue type to avoid empty values
This commit is contained in:
parent
53b4671a9d
commit
6c7bee0624
10 changed files with 93 additions and 92 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue