Skip to content

Commit 7f6048e

Browse files
committed
Fixed #241
1 parent 350908c commit 7f6048e

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/infrastructure/AccountHttp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import { NamespaceId } from '../model/namespace/NamespaceId';
3232
import { NamespaceName } from '../model/namespace/NamespaceName';
3333
import {AggregateTransaction} from '../model/transaction/AggregateTransaction';
3434
import {Transaction} from '../model/transaction/Transaction';
35+
import { UInt64 } from '../model/UInt64';
3536
import {AccountRepository} from './AccountRepository';
3637
import { AccountInfoDTO,
3738
AccountNamesDTO,
@@ -45,7 +46,6 @@ import {Http} from './Http';
4546
import {NetworkHttp} from './NetworkHttp';
4647
import {QueryParams} from './QueryParams';
4748
import {CreateTransactionFromDTO} from './transaction/CreateTransactionFromDTO';
48-
import { UInt64 } from '../model/UInt64';
4949

5050
/**
5151
* Account http repository.

src/model/wallet/EncryptedPrivateKey.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import { WalletAlgorithm } from './WalletAlgorithm';
2323
*/
2424
export class EncryptedPrivateKey {
2525
/**
26-
* @internal
2726
* @param encryptedKey
2827
* @param iv
2928
*/
@@ -40,15 +39,14 @@ export class EncryptedPrivateKey {
4039
}
4140

4241
/**
43-
* @internal
4442
* Decrypt an encrypted private key
4543
* @param password
4644
*/
47-
decrypt(password: Password): string {
45+
public decrypt(password: Password): string {
4846
const common = {
4947
password: password.value,
5048
privateKey: '',
51-
}
49+
};
5250
const wallet = {
5351
encrypted: this.encryptedKey,
5452
iv: this.iv,

src/model/wallet/SimpleWallet.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ import {Wallet} from './Wallet';
3030
export class SimpleWallet extends Wallet {
3131

3232
/**
33-
* @internal
3433
* @param name
3534
* @param network
3635
* @param address

0 commit comments

Comments
 (0)