diff --git a/src/massaStation/MassaStationWallet.ts b/src/massaStation/MassaStationWallet.ts index 6b85c91d..01c2eed6 100644 --- a/src/massaStation/MassaStationWallet.ts +++ b/src/massaStation/MassaStationWallet.ts @@ -70,7 +70,6 @@ export class MassaStationWallet implements Wallet { publicKey, privateKey, }); - console.log('importAccount res ', res); if (res.isError) { throw res.error; } @@ -162,27 +161,35 @@ export class MassaStationWallet implements Wallet { }; } + /** + * Simulates connecting to the station. + * This method always returns `true` because the station is inherently connected. + */ public async connect(): Promise { - throw new Error( - 'connect functionality is not yet implemented for the current provider.', - ); + return true; } + /** + * Simulates disconnecting from the station. + * This method always returns `true` because the station cannot be disconnected. + */ public async disconnect(): Promise { - throw new Error( - 'disconnect functionality is not yet implemented for the current provider.', - ); + return true; } + /** + * Indicates if the station is connected. + * Always returns `true` because the station is always connected when running. + */ public connected(): boolean { - throw new Error( - 'connected functionality is not yet implemented for the current provider.', - ); + return true; } + /** + * Indicates if the station is enabled. + * Always returns `true` because the station is always enabled by default. + */ public enabled(): boolean { - throw new Error( - 'enabled functionality is not yet implemented for the current provider.', - ); + return true; } }