aports/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
2015-05-07 05:57:19 +00:00

12 lines
597 B
Diff

--- bitcoin-0.10.1/src/rpcrawtransaction.cpp
+++ bitcoin-0.10.1/src/rpcrawtransaction.cpp.new
@@ -287,7 +287,7 @@
if (pk.IsPayToScriptHash()) {
CTxDestination address;
if (ExtractDestination(pk, address)) {
- const CScriptID& hash = boost::get<const CScriptID&>(address);
+ const CScriptID& hash = boost::get<CScriptID>(address);
CScript redeemScript;
if (pwalletMain->GetCScript(hash, redeemScript))
entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));