summarylogtreecommitdiffstats
path: root/fixing-boost.patch
blob: ec5223cf20d63e0d5abbf3eb8a085c062546a093 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -aur dogecoin-1.8.2.pristine/src/rpcrawtransaction.cpp dogecoin-1.8.2.new/src/rpcrawtransaction.cpp
--- dogecoin-1.8.2.pristine/src/rpcrawtransaction.cpp	2015-01-17 19:22:54.000000000 +0100
+++ dogecoin-1.8.2.new/src/rpcrawtransaction.cpp	2015-05-24 10:57:09.750066113 +0200
@@ -296,7 +296,7 @@
             CTxDestination address;
             if (ExtractDestination(pk, address))
             {
-                const CScriptID& hash = boost::get<const CScriptID&>(address);
+                const CScriptID& hash = boost::relaxed_get<const CScriptID&>(address);
                 CScript redeemScript;
                 if (pwalletMain->GetCScript(hash, redeemScript))
                     entry.push_back(Pair("redeemScript", HexStr(redeemScript.begin(), redeemScript.end())));