File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ export const Network = {
104
104
TESTNET3 : literal ( 'testnet3' ) ,
105
105
TESTNET4 : literal ( 'testnet4' ) ,
106
106
CHIPNET : literal ( 'chipnet' ) ,
107
+ MOCKNET : literal ( 'mocknet' ) ,
107
108
REGTEST : literal ( 'regtest' ) ,
108
109
} ;
109
110
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const carolAddress = 'bchtest:qqsr7nqwe6rq5crj63gy5gdqchpnwmguusmr7tfmsj';
12
12
export default class MockNetworkProvider implements NetworkProvider {
13
13
private utxoMap : Record < string , Utxo [ ] > = { } ;
14
14
private transactionMap : Record < string , string > = { } ;
15
- public network : Network = Network . CHIPNET ;
15
+ public network : Network = Network . MOCKNET ;
16
16
17
17
constructor ( ) {
18
18
for ( let i = 0 ; i < 3 ; i += 1 ) {
Original file line number Diff line number Diff line change @@ -270,6 +270,7 @@ export function getNetworkPrefix(network: string): 'bitcoincash' | 'bchtest' | '
270
270
case Network . TESTNET4 :
271
271
case Network . TESTNET3 :
272
272
case Network . CHIPNET :
273
+ case Network . MOCKNET :
273
274
return 'bchtest' ;
274
275
case Network . REGTEST :
275
276
return 'bchreg' ;
You can’t perform that action at this time.
0 commit comments