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

Commit d98b52b

Browse files
committed
Document getChecksumAddressString()
1 parent 4162a28 commit d98b52b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Instance methods:
4545
* `getPrivateKey()` - return the private key
4646
* `getPublicKey()` - return the public key
4747
* `getAddress()` - return the address
48+
* `getChecksumAddressString()` - return the [address with checksum](https://github.com/ethereum/EIPs/issues/55)
4849
* `toV3(password, [options])` - return the wallet as a JSON string (Version 3 of the Ethereum wallet format)
4950

5051
All of the above instance methods return a Buffer or JSON. Use the `String` suffixed versions for a string output, such as `getPrivateKeyString()`.

thirdparty.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Thirdparty.fromQuorumWallet = function (passphrase, userid) {
220220
assert(userid.length >= 10)
221221

222222
var seed = passphrase + userid
223-
seed = crypto.pbkdf2Sync(seed, seed, 2000, 32, 'sha256');
223+
seed = crypto.pbkdf2Sync(seed, seed, 2000, 32, 'sha256')
224224

225225
return new Wallet(seed)
226226
}

0 commit comments

Comments
 (0)