diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-11-30 14:50:20 -0800 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-12-02 18:28:22 -0800 |
commit | 42fd8dee302fec55ba0970e2f1378edc2797e4ff (patch) | |
tree | 0b2b5cb6be13f876f5b0fc6060da144213cda6bc /src/core_io.h | |
parent | c3f5673a6304e3ea9fa56fff66b6ea1cb73cc98f (diff) |
Make DecodeHexTx return a CMutableTransaction
Diffstat (limited to 'src/core_io.h')
-rw-r--r-- | src/core_io.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core_io.h b/src/core_io.h index 5aecbc4489..4344290bb8 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -11,13 +11,14 @@ class CBlock; class CScript; class CTransaction; +class CMutableTransaction; class uint256; class UniValue; // core_read.cpp CScript ParseScript(const std::string& s); std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false); -bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx, bool fTryNoWitness = false); +bool DecodeHexTx(CMutableTransaction& tx, const std::string& strHexTx, bool fTryNoWitness = false); bool DecodeHexBlk(CBlock&, const std::string& strHexBlk); uint256 ParseHashUV(const UniValue& v, const std::string& strName); uint256 ParseHashStr(const std::string&, const std::string& strName); |