diff options
| author | Jonas Schnelli <[email protected]> | 2015-05-10 14:48:35 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2015-06-04 09:16:05 +0200 |
| commit | 6c7bee062437acbc078533fdcf8e53794031bf99 (patch) | |
| tree | 9af2921524e39c6c25df31fba9d1dd55e03ba04b /src/test/script_tests.cpp | |
| parent | extend conversion to UniValue (diff) | |
| download | discoin-6c7bee062437acbc078533fdcf8e53794031bf99.tar.xz discoin-6c7bee062437acbc078533fdcf8e53794031bf99.zip | |
expicit set UniValue type to avoid empty values
Diffstat (limited to 'src/test/script_tests.cpp')
| -rw-r--r-- | src/test/script_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/script_tests.cpp b/src/test/script_tests.cpp index 989b35b9e..80e5ac6b3 100644 --- a/src/test/script_tests.cpp +++ b/src/test/script_tests.cpp @@ -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)); |