mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-25 22:34:27 +00:00
Make validateaddress provide redeemScript
This commit is contained in:
parent
be066fad7d
commit
2253642287
@ -1447,6 +1447,7 @@ public:
|
|||||||
int nRequired;
|
int nRequired;
|
||||||
ExtractDestinations(subscript, whichType, addresses, nRequired);
|
ExtractDestinations(subscript, whichType, addresses, nRequired);
|
||||||
obj.push_back(Pair("script", GetTxnOutputType(whichType)));
|
obj.push_back(Pair("script", GetTxnOutputType(whichType)));
|
||||||
|
obj.push_back(Pair("hex", HexStr(subscript.begin(), subscript.end())));
|
||||||
Array a;
|
Array a;
|
||||||
BOOST_FOREACH(const CTxDestination& addr, addresses)
|
BOOST_FOREACH(const CTxDestination& addr, addresses)
|
||||||
a.push_back(CBitcoinAddress(addr).ToString());
|
a.push_back(CBitcoinAddress(addr).ToString());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user