From 8f5c6f588d8d697a1349ccf3080c86b6a8ca1e12 Mon Sep 17 00:00:00 2001 From: Siradji Date: Sat, 29 May 2021 18:29:54 +0100 Subject: [PATCH] Minor fixes --- .../__tests__/category/wallet/importPrivkey.test.ts | 2 +- website/docs/jellyfish/api/wallet.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/jellyfish-api-core/__tests__/category/wallet/importPrivkey.test.ts b/packages/jellyfish-api-core/__tests__/category/wallet/importPrivkey.test.ts index 9343ad0aef..6480ef4ba4 100644 --- a/packages/jellyfish-api-core/__tests__/category/wallet/importPrivkey.test.ts +++ b/packages/jellyfish-api-core/__tests__/category/wallet/importPrivkey.test.ts @@ -15,7 +15,7 @@ describe('ImportPrivKey', () => { await container.stop() }) - it('should should import private key without failing ', async () => { + it('should import private key without failing ', async () => { const privatekey = await client.wallet.dumpPrivKey(await client.wallet.getNewAddress()) const promise = client.wallet.importPrivKey(privatekey) diff --git a/website/docs/jellyfish/api/wallet.md b/website/docs/jellyfish/api/wallet.md index e85b0d793c..cecf1e23fc 100644 --- a/website/docs/jellyfish/api/wallet.md +++ b/website/docs/jellyfish/api/wallet.md @@ -286,7 +286,7 @@ Reveals the private key corresponding to an address. ```ts title="client.wallet.dumpPrivKey()" interface wallet { - dumpPrivKey(address: string): Promise + dumpPrivKey (address: string): Promise } ``` @@ -296,6 +296,6 @@ Adds a private key (as returned by dumpprivkey) to your wallet. Requires a new w ```ts title="client.wallet.importPrivKey()" interface wallet { - importPrivKey(privkey: string, label: string = "", rescan: boolean = true): Promise + importPrivKey (privkey: string, label: string = "", rescan: boolean = true): Promise } ```