Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Commit 65a1942

Browse files
committed
changed param order
1 parent b4b823b commit 65a1942

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/services/ablock.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ export class ABlockWallet {
152152
* @memberof ABlockWallet
153153
*/
154154
public async fromSeed(
155-
config: IClientConfig,
156155
seedPhrase: string,
156+
config: IClientConfig,
157157
initOffline = false,
158158
): Promise<IClientResponse> {
159159
this.keyMgmt = new mgmtClient();

src/services/mgmt.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class mgmtClient {
104104
* @return {*} {IResult<IMasterKeyEncrypted>}
105105
* @memberof mgmtClient
106106
*/
107-
public fromSeed(passphraseKey: string, seedPhrase: string): IResult<IMasterKeyEncrypted> {
107+
public fromSeed(seedPhrase: string, passphraseKey: string): IResult<IMasterKeyEncrypted> {
108108
const passphrase = getPassphraseBuffer(passphraseKey);
109109
if (passphrase.isErr()) return err(passphrase.error);
110110
this.passphraseKey = passphrase.value;

0 commit comments

Comments
 (0)