diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-04-29 08:57:50 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-04-29 09:03:58 +0200 |
commit | 6c97fd10542d9d5935dca6229043c382cf52e340 (patch) | |
tree | f432349bd96920810ab55b1b5256332267309ecc | |
parent | 7bf5d5efa60c89c0e0c353dddc2a76fe4f243808 (diff) | |
parent | 8b08d9530b93c7a98e7387167ecd2cd5b0563bfb (diff) |
Merge pull request #6076
8b08d95 wallet: fix boost::get usage with boost 1.58 (Cory Fields)
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index c31c09d922..dd5240e3c0 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2330,7 +2330,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()))); |