diff options
| author | Gregory Maxwell <[email protected]> | 2012-08-24 02:44:51 -0400 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2012-08-24 02:48:19 -0400 |
| commit | bdab0cf58c2ac1b90ba2723e8f9ddc1817b3d811 (patch) | |
| tree | d7b42a24e6c194d7b9a86a2d27dd320b9d1b02d2 /src/rpcrawtransaction.cpp | |
| parent | Merge pull request #1409 from luke-jr/listtx_generate_fold (diff) | |
| download | discoin-bdab0cf58c2ac1b90ba2723e8f9ddc1817b3d811.tar.xz discoin-bdab0cf58c2ac1b90ba2723e8f9ddc1817b3d811.zip | |
Avoid leaving return types or function attributes on their own lines.
Diffstat (limited to 'src/rpcrawtransaction.cpp')
| -rw-r--r-- | src/rpcrawtransaction.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index fefefc7d6..2430a0387 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -18,8 +18,7 @@ using namespace boost; using namespace boost::assign; using namespace json_spirit; -void -ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out) +void ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out) { txnouttype type; vector<CTxDestination> addresses; @@ -43,8 +42,7 @@ ScriptPubKeyToJSON(const CScript& scriptPubKey, Object& out) out.push_back(Pair("addresses", a)); } -void -TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry) +void TxToJSON(const CTransaction& tx, const uint256 hashBlock, Object& entry) { entry.push_back(Pair("txid", tx.GetHash().GetHex())); entry.push_back(Pair("version", tx.nVersion)); |