settings: nuke verbose 2
This commit is contained in:
parent
ecceb668e3
commit
f9a31ce9aa
7 changed files with 18 additions and 18 deletions
|
|
@ -799,6 +799,7 @@ Wallet.prototype.toObj = function() {
|
|||
|
||||
var walletObj = {
|
||||
opts: optsObj,
|
||||
settings: this.settings.toObj();
|
||||
networkNonce: networkNonce, //yours
|
||||
networkNonces: networkNonces, //copayers
|
||||
publicKeyRing: this.publicKeyRing.toObj(),
|
||||
|
|
@ -832,6 +833,7 @@ Wallet.fromObj = function(o, storage, network, blockchain) {
|
|||
var opts = JSON.parse(JSON.stringify(o.opts));
|
||||
|
||||
opts.addressBook = o.addressBook;
|
||||
opts.settings = o.settings;
|
||||
|
||||
if (o.privateKey) {
|
||||
opts.privateKey = PrivateKey.fromObj(o.privateKey);
|
||||
|
|
@ -2523,4 +2525,4 @@ Wallet.request = function(options, callback) {
|
|||
return ret;
|
||||
};
|
||||
|
||||
module.exports = Wallet;
|
||||
module.exports = Wallet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue