Created
December 10, 2017 04:30
-
-
Save ik11235/c422c397fc2b51862dfa4d67ed734920 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/rpcrawtransaction.cpp b/src/rpcrawtransaction.cpp | |
index 1039518..b6f0726 100644 | |
--- a/src/rpcrawtransaction.cpp | |
+++ b/src/rpcrawtransaction.cpp | |
@@ -296,7 +296,7 @@ Value listunspent(const Array& params, bool fHelp) | |
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()))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment