diff options
| author | Peter Todd <[email protected]> | 2013-10-24 04:32:35 -0400 |
|---|---|---|
| committer | Peter Todd <[email protected]> | 2013-10-24 04:32:35 -0400 |
| commit | 22de68dffc1e94c5b06b7e512140c42290cb4f5d (patch) | |
| tree | 9f723331f610480aa0af80aff36411bc2a3c6b95 /src/rpcrawtransaction.cpp | |
| parent | Merge pull request #2740 from constantined/constantined (diff) | |
| download | discoin-22de68dffc1e94c5b06b7e512140c42290cb4f5d.tar.xz discoin-22de68dffc1e94c5b06b7e512140c42290cb4f5d.zip | |
Relay OP_RETURN TxOut as standard transaction type
Also fix decoderawtransaction to not show reqSigs or addresses for
nulldata txouts. (Previous version also left reqSigs uninitialized
mistakenly)
Diffstat (limited to 'src/rpcrawtransaction.cpp')
| -rw-r--r-- | src/rpcrawtransaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index d5bd39cb4..cb571947a 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -29,7 +29,7 @@ void ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out, bool fIncludeH if (!ExtractDestinations(scriptPubKey, type, addresses, nRequired)) { - out.push_back(Pair("type", GetTxnOutputType(TX_NONSTANDARD))); + out.push_back(Pair("type", GetTxnOutputType(type))); return; } |