Execute bdk-cli node command
(&self, args: &[&str])
| 183 | |
| 184 | /// Execute bdk-cli node command |
| 185 | fn node_exec(&self, args: &[&str]) -> Result<Value, IntTestError> { |
| 186 | // Check if data directory is specified |
| 187 | let mut node_args = if let Some(datadir) = &self.node_datadir { |
| 188 | let datadir = datadir.as_os_str().to_str().unwrap(); |
| 189 | ["--network", &self.network, "--datadir", datadir, "node"].to_vec() |
| 190 | } else { |
| 191 | ["--network", &self.network, "node"].to_vec() |
| 192 | }; |
| 193 | |
| 194 | for arg in args { |
| 195 | node_args.push(arg); |
| 196 | } |
| 197 | run_cmd_with_args(&self.target, &node_args) |
| 198 | } |
| 199 | } |
| 200 | |
| 201 | // Run A Basic wallet operation test, with given feature |
no test coverage detected