.index
.get_children_by_inscription_id(parent_inscription_id)
.unwrap(),
vec![child_inscription_id]
);
}
}
#[test]
fn inscriptions_in_same_input_with_pointers_to_same_output() {
for context in Context::configurations() {
context.mine_blocks(1);
let builder = script::Builder::new();
let builder = Inscription {
pointer: Some(100u64.to_le_bytes().to_vec()),
..Default::default()
}
.append_reveal_script_to_builder(builder);
let builder = Inscription {
pointer: Some(300_000u64.to_le_bytes().to_vec()),
..Default::default()
}
.append_reveal_script_to_builder(builder);
let builder = Inscription {
pointer: Some(1_000_000u64.to_le_bytes().to_vec()),
..Default::default()
}
.append_reveal_script_to_builder(builder);
let witness = Witness::from_slice(&[builder.into_bytes(), Vec::new()]);
let txid = context.rpc_server.broadcast_tx(TransactionTemplate {