add setFromObj to FakeStorage - and fix publicKeyring capitalization

...to fix tests
This commit is contained in:
Ryan X. Charles 2014-04-17 18:55:17 -03:00
commit 4681783231
3 changed files with 10 additions and 2 deletions

View file

@ -166,7 +166,7 @@ Wallet.prototype.toObj = function() {
var optsObj = this._optsToObj();
var walletObj = {
opts: optsObj,
publicKeyring: this.publicKeyRing.toObj(),
publicKeyRing: this.publicKeyRing.toObj(),
txProposals: this.txProposals.toObj(),
privateKey: this.privateKey.toObj()
};