(config: &Config)
| 311 | } |
| 312 | |
| 313 | pub fn test_rpc(config: &Config) -> Result<()> { |
| 314 | let rpc = RpcClient::new(config.bitcoind_url(), config.bitcoind_auth()?)?; |
| 315 | rpc.get_wallet_info()?; |
| 316 | Ok(()) |
| 317 | } |
| 318 | } |
| 319 | |
| 320 | // Check if the wallet is loaded, try loading it if not, and create the wallet |
nothing calls this directly
no test coverage detected