(self, wallet_name)
| 194 | self._raise_assertion_error("Unable to connect to bitcoind") |
| 195 | |
| 196 | def get_wallet_rpc(self, wallet_name): |
| 197 | if self.use_cli: |
| 198 | return self.cli("-rpcwallet={}".format(wallet_name)) |
| 199 | else: |
| 200 | assert self.rpc_connected and self.rpc, self._node_msg("RPC not connected") |
| 201 | wallet_path = "wallet/{}".format(urllib.parse.quote(wallet_name)) |
| 202 | return self.rpc / wallet_path |
| 203 | |
| 204 | def stop_node(self, expected_stderr=''): |
| 205 | """Stop the node.""" |