mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-07-24 07:21:05 -04:00
manually check daemon connections
This commit is contained in:
parent
4ae2155f41
commit
ca8cea8e82
10 changed files with 135 additions and 133 deletions
4
dist/HavenoClient.js
vendored
4
dist/HavenoClient.js
vendored
|
@ -518,7 +518,7 @@ class HavenoClient {
|
|||
*/
|
||||
async startCheckingConnection(refreshPeriod) {
|
||||
try {
|
||||
await this._xmrConnectionsClient.startCheckingConnections(new grpc_pb_1.StartCheckingConnectionsRequest().setRefreshPeriod(refreshPeriod), { password: this._password });
|
||||
await this._xmrConnectionsClient.startCheckingConnection(new grpc_pb_1.StartCheckingConnectionRequest().setRefreshPeriod(refreshPeriod), { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
|
@ -529,7 +529,7 @@ class HavenoClient {
|
|||
*/
|
||||
async stopCheckingConnection() {
|
||||
try {
|
||||
await this._xmrConnectionsClient.stopCheckingConnections(new grpc_pb_1.StopCheckingConnectionsRequest(), { password: this._password });
|
||||
await this._xmrConnectionsClient.stopCheckingConnection(new grpc_pb_1.StopCheckingConnectionRequest(), { password: this._password });
|
||||
}
|
||||
catch (e) {
|
||||
throw new HavenoError_1.default(e.message, e.code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue