diff options
author | MeshCollider <dobsonsa68@gmail.com> | 2017-08-28 18:00:21 +1200 |
---|---|---|
committer | MeshCollider <dobsonsa68@gmail.com> | 2017-09-06 11:24:59 +1200 |
commit | bbdbe805a25ae7c63e6237b3f30b8379ea29ac22 (patch) | |
tree | 938f2bb10a57b878566dc3f8020f2087b2d83234 /src/core_io.h | |
parent | 28485c783d826fa6ce14aaf215e82118c1af8db7 (diff) |
Add iswitness parameter to decode- and fundrawtransaction RPCs
Diffstat (limited to 'src/core_io.h')
-rw-r--r-- | src/core_io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_io.h b/src/core_io.h index ccc72ebb32..946480cfa4 100644 --- a/src/core_io.h +++ b/src/core_io.h @@ -20,7 +20,7 @@ class UniValue; // core_read.cpp CScript ParseScript(const std::string& s); std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false); -bool DecodeHexTx(CMutableTransaction& tx, const std::string& strHexTx, bool fTryNoWitness = false); +bool DecodeHexTx(CMutableTransaction& tx, const std::string& hex_tx, bool try_no_witness = false, bool try_witness = true); 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); |