}
let script = builder
.push_opcode(bitcoin::opcodes::all::OP_ENDIF)
.into_script();
bitcoin::Witness::from_slice(&[script.into_bytes(), Vec::new()])
}
fn create_wallet(rpc_server: &test_bitcoincore_rpc::Handle) {
CommandBuilder::new(format!("--chain {} wallet create", rpc_server.network()))
.rpc_server(rpc_server)
.run_and_deserialize_output::<ord::subcommand::wallet::create::Output>();
}
mod command_builder;
mod expected;
mod test_server;
mod core;
mod decode;
mod epochs;
mod find;
mod index;
mod info;
mod json_api;
mod list;
mod parse;
mod server;
mod subsidy;
mod supply;
mod traits;
mod version;
mod wallet;