architecture refactor
This commit is contained in:
parent
6d90020205
commit
59c00da592
17 changed files with 151 additions and 47 deletions
|
|
@ -244,7 +244,7 @@ console.log('[network.js.178:pkr:]',pkr); //TODO
|
|||
|
||||
// public methods
|
||||
var init = function(cb) {
|
||||
var cp = $rootScope.cp = new copay.CopayPeer({
|
||||
var cp = $rootScope.cp = new copay.Network({
|
||||
apiKey: config.p2pApiKey,
|
||||
debug: config.p2pDebug,
|
||||
maxPeers: config.maxPeers, // TODO: This should be on wallet configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue