Document getChecksumAddressString()

This commit is contained in:
Alex Beregszaszi 2016-03-08 23:24:11 +00:00
parent 4162a28ac6
commit d98b52b7a3
2 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ Instance methods:
* `getPrivateKey()` - return the private key
* `getPublicKey()` - return the public key
* `getAddress()` - return the address
* `getChecksumAddressString()` - return the [address with checksum](https://github.com/ethereum/EIPs/issues/55)
* `toV3(password, [options])` - return the wallet as a JSON string (Version 3 of the Ethereum wallet format)
All of the above instance methods return a Buffer or JSON. Use the `String` suffixed versions for a string output, such as `getPrivateKeyString()`.

View File

@ -220,7 +220,7 @@ Thirdparty.fromQuorumWallet = function (passphrase, userid) {
assert(userid.length >= 10)
var seed = passphrase + userid
seed = crypto.pbkdf2Sync(seed, seed, 2000, 32, 'sha256');
seed = crypto.pbkdf2Sync(seed, seed, 2000, 32, 'sha256')
return new Wallet(seed)
}