mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-20 08:05:33 +03:00
added missing event get_connections for farmer service
This commit is contained in:
parent
830c4db420
commit
c992d07c95
@ -87,6 +87,13 @@ export default class Farmer extends Service {
|
||||
});
|
||||
}
|
||||
|
||||
onConnections(
|
||||
callback: (data: any, message: Message) => void,
|
||||
processData?: (data: any) => any,
|
||||
) {
|
||||
return this.onCommand('get_connections', callback, processData);
|
||||
}
|
||||
|
||||
onNewFarmingInfo(
|
||||
callback: (data: any, message: Message) => void,
|
||||
processData?: (data: any) => any,
|
||||
|
Loading…
Reference in New Issue
Block a user