aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch')
-rw-r--r--testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch b/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
new file mode 100644
index 0000000000..07589c74f1
--- /dev/null
+++ b/testing/bitcoin/boost-STATIC_ASSERTION_FAILURE.patch
@@ -0,0 +1,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())));