Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
siradji committed May 29, 2021
1 parent 2644ac7 commit 8f5c6f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
4 changes: 2 additions & 2 deletions website/docs/jellyfish/api/wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Reveals the private key corresponding to an address.

```ts title="client.wallet.dumpPrivKey()"
interface wallet {
dumpPrivKey(address: string): Promise<string>
dumpPrivKey (address: string): Promise<string>
}
```

Expand All @@ -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<void>
importPrivKey (privkey: string, label: string = "", rescan: boolean = true): Promise<void>
}
```

0 comments on commit 8f5c6f5

Please sign in to comment.