add sinon for fromObj
This commit is contained in:
parent
cbc46f5345
commit
1dd906afcd
4 changed files with 356 additions and 43 deletions
|
|
@ -209,7 +209,7 @@ Wallet.obtainNetworkName = function(obj) {
|
|||
return obj.networkName ||
|
||||
(obj.opts ? obj.opts.networkName : null) ||
|
||||
(obj.publicKeyRing ? obj.publicKeyRing.networkName : null) ||
|
||||
obj.privateKey.networkName;
|
||||
(obj.publicKeyRing ? obj.privateKey.networkName : null);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue