File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed 
packages/js-dash-sdk/src/SDK/Client Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ describe('Dash - Client', function suite() {
3737    testHDKey  =  'tprv8ZgxMBicQKsPeGi4CikhacVPz6UmErenu1PoD3S4XcEDSPP8auRaS8hG3DQtsQ2i9HACgohHwF5sgMVJNksoKqYoZbis8o75Pp1koCme2Yo' ; 
3838
3939    client  =  new  Client ( { 
40+       network : 'testnet' , 
4041      wallet : { 
4142        HDPrivateKey : testHDKey , 
4243      } , 
@@ -77,7 +78,7 @@ describe('Dash - Client', function suite() {
7778  it ( 'should be instantiable' ,  ( )  =>  { 
7879    client  =  new  Client ( ) ; 
7980    expect ( client ) . to . exist ; 
80-     expect ( client . network ) . to . be . equal ( 'testnet ' ) ; 
81+     expect ( client . network ) . to . be . equal ( 'mainnet ' ) ; 
8182    expect ( client . getDAPIClient ( ) . constructor . name ) . to . be . equal ( 'DAPIClient' ) ; 
8283  } ) ; 
8384
@@ -111,7 +112,7 @@ describe('Dash - Client', function suite() {
111112        wallet : { 
112113          mnemonic : testMnemonic , 
113114          offlineMode : true , 
114-           network : 'evonet ' , 
115+           network : 'mainnet ' , 
115116        } , 
116117      } ) ; 
117118
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export interface ClientOpts {
4848 * and the Dash Platform (layer 2). 
4949 */ 
5050export  class  Client  extends  EventEmitter  { 
51-   public  network : string  =  'testnet ' ; 
51+   public  network : string  =  'mainnet ' ; 
5252
5353  public  wallet : Wallet  |  undefined ; 
5454
@@ -74,7 +74,7 @@ export class Client extends EventEmitter {
7474
7575    this . options  =  options ; 
7676
77-     this . network  =  this . options . network  ? this . options . network . toString ( )  : 'testnet ' ; 
77+     this . network  =  this . options . network  ? this . options . network . toString ( )  : 'mainnet ' ; 
7878
7979    // Initialize DAPI Client 
8080    const  dapiClientOptions  =  { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments