diff options
| author | Gavin Andresen <[email protected]> | 2013-11-01 12:06:03 +1000 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2013-11-01 12:13:38 +1000 |
| commit | 837369806ac39717b3294e5b698307f0f0011a6d (patch) | |
| tree | 66ea7ef00247c589ac7ebf9e3466e892f730b8a0 /src/rpcrawtransaction.cpp | |
| parent | Merge pull request #3114 (diff) | |
| parent | Show short scriptPubKeys correctly (diff) | |
| download | discoin-837369806ac39717b3294e5b698307f0f0011a6d.tar.xz discoin-837369806ac39717b3294e5b698307f0f0011a6d.zip | |
Merge pull request #3128
0056095 Show short scriptPubKeys correctly (Peter Todd)
22de68d Relay OP_RETURN TxOut as standard transaction type (Peter Todd)
Signed-off-by: Gavin Andresen <[email protected]>
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 4d1381bc2..49987ecc4 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; } |