diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2015-04-28 11:38:50 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2015-05-06 16:52:46 -0400 |
commit | 824c011d165cc352088f8e238f66b829b0e654ed (patch) | |
tree | 6590b67321857d71ad12cf507cf09e4787001a3b | |
parent | ebc0e41ede2f63c95cf022ad60cf8eda260dbad5 (diff) |
wallet: fix boost::get usage with boost 1.58
Backport from master
-rw-r--r-- | src/rpcrawtransaction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp index 1b9b1a0e1f..e243dae421 100644 --- a/src/rpcrawtransaction.cpp +++ b/src/rpcrawtransaction.cpp @@ -287,7 +287,7 @@ Value listunspent(const Array& params, bool fHelp) 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()))); |