aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-05-07 10:08:40 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-05-07 10:08:45 +0200
commit9a5b88cc0c6689a69203414cbbe14c6000f26567 (patch)
tree6590b67321857d71ad12cf507cf09e4787001a3b
parentebc0e41ede2f63c95cf022ad60cf8eda260dbad5 (diff)
parent824c011d165cc352088f8e238f66b829b0e654ed (diff)
downloadbitcoin-9a5b88cc0c6689a69203414cbbe14c6000f26567.tar.xz
Merge pull request #6114
824c011 wallet: fix boost::get usage with boost 1.58 (Cory Fields)
-rw-r--r--src/rpcrawtransaction.cpp2
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())));