mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Merge 1ff135ca7f into merged_master (Bitcoin PR bitcoin/bitcoin#26194)
This commit is contained in:
commit
a4e12fd05b
3 changed files with 12 additions and 4 deletions
|
|
@ -1797,7 +1797,8 @@ RPCHelpMan listdescriptors()
|
|||
{RPCResult::Type::NUM, "", "Range start inclusive"},
|
||||
{RPCResult::Type::NUM, "", "Range end inclusive"},
|
||||
}},
|
||||
{RPCResult::Type::NUM, "next", /*optional=*/true, "The next index to generate addresses from; defined only for ranged descriptors"},
|
||||
{RPCResult::Type::NUM, "next", /*optional=*/true, "Same as next_index field. Kept for compatibility reason."},
|
||||
{RPCResult::Type::NUM, "next_index", /*optional=*/true, "The next index to generate addresses from; defined only for ranged descriptors"},
|
||||
}},
|
||||
}}
|
||||
}},
|
||||
|
|
@ -1874,6 +1875,7 @@ RPCHelpMan listdescriptors()
|
|||
range.push_back(info.range->second - 1);
|
||||
spk.pushKV("range", range);
|
||||
spk.pushKV("next", info.next_index);
|
||||
spk.pushKV("next_index", info.next_index);
|
||||
}
|
||||
descriptors.push_back(spk);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue