mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 12:14:21 +01:00
pkg/client-sdk: expose IsLocked (#247)
* expose IsLocked * add test for IsLocked
This commit is contained in:
@@ -10,6 +10,7 @@ type ArkClient interface {
|
||||
GetConfigData(ctx context.Context) (*store.StoreData, error)
|
||||
Init(ctx context.Context, args InitArgs) error
|
||||
InitWithWallet(ctx context.Context, args InitWithWalletArgs) error
|
||||
IsLocked(ctx context.Context) bool
|
||||
Unlock(ctx context.Context, password string) error
|
||||
Lock(ctx context.Context, password string) error
|
||||
Balance(ctx context.Context, computeExpiryDetails bool) (*Balance, error)
|
||||
|
||||
Reference in New Issue
Block a user