aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
blob: 07589c74f12edab9cae6b39e00eba32e71330f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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())));