[descriptor] Make the syntax of descriptor!() more consistent
The syntax now is pretty much the same as the normal descriptor syntax, with the only difference that modifiers cannot be grouped together (i.e. `sdv:older(144)` must be turned into `s:d:v:older(144)`.
This commit is contained in:
@@ -557,7 +557,7 @@ mod signers_container_tests {
|
||||
fn signers_with_same_ordering() {
|
||||
let (prvkey1, _, _) = setup_keys(TPRV0_STR);
|
||||
let (prvkey2, _, _) = setup_keys(TPRV1_STR);
|
||||
let desc = descriptor!(sh(multi 2, prvkey1, prvkey2)).unwrap();
|
||||
let desc = descriptor!(sh(multi(2, prvkey1, prvkey2))).unwrap();
|
||||
let (_, keymap) = desc.to_wallet_descriptor(Network::Testnet).unwrap();
|
||||
|
||||
let signers = SignersContainer::from(keymap);
|
||||
|
||||
Reference in New Issue
Block a user