Beispiel #1
0
        public void CleanUp()
        {
            _encryptionService.Delete(_protoService.Options.WalletPublicKey);
            _protoService.Options.WalletPublicKey = null;

            _client.Send(new DeleteAllKeys());

            _creationState = null;
        }
Beispiel #2
0
        public void SetCreationState(WalletCreationState state)
        {
            if (_creationState != null && state != null)
            {
                throw new InvalidOperationException("Wallet is being created already");
            }

            _creationState = state;
        }
Beispiel #3
0
 public bool TryGetCreationState(out WalletCreationState state)
 {
     state = _creationState;
     return(state != null);
 }