|
|
|
@ -1447,6 +1447,7 @@ public:
@@ -1447,6 +1447,7 @@ public:
|
|
|
|
|
int nRequired; |
|
|
|
|
ExtractDestinations(subscript, whichType, addresses, nRequired); |
|
|
|
|
obj.push_back(Pair("script", GetTxnOutputType(whichType))); |
|
|
|
|
obj.push_back(Pair("hex", HexStr(subscript.begin(), subscript.end()))); |
|
|
|
|
Array a; |
|
|
|
|
BOOST_FOREACH(const CTxDestination& addr, addresses) |
|
|
|
|
a.push_back(CBitcoinAddress(addr).ToString()); |
|
|
|
|