mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-25 22:41:31 +02:00
12 lines
597 B
Diff
12 lines
597 B
Diff
--- bitcoin-0.10.1/src/rpcrawtransaction.cpp
|
|
+++ bitcoin-0.10.1/src/rpcrawtransaction.cpp.new
|
|
@@ -287,7 +287,7 @@
|
|
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())));
|