This commit is contained in:
Christopher Jeffrey 2016-06-01 22:45:40 -07:00
parent 712d7801b3
commit b0c36d51dc
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
3 changed files with 1 additions and 4 deletions

View File

@ -1428,6 +1428,7 @@ HDPublicKey.parseBase58 = function parseBase58(xkey) {
HDPublicKey.parseRaw = function parseRaw(raw) {
var p = new BufferReader(raw);
var data = {};
var i, type, prefix;
data.version = p.readU32BE();
data.depth = p.readU8();

View File

@ -2453,7 +2453,6 @@ function MasterKey(options) {
*/
MasterKey.prototype.toKey = function toKey(passphrase, timeout) {
var self = this;
var xprivkey;
if (!this.key) {

View File

@ -358,9 +358,6 @@ WalletDB.prototype.get = function get(id, callback) {
*/
WalletDB.prototype.getRaw = function getRaw(id, callback) {
var self = this;
var wallet;
if (!id)
return callback();