@@ -81,7 +81,7 @@ describe('bootstrap', () => {
81
81
'/ip6/2604:a880:1:20::1d9:6001/tcp/4001/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx' ,
82
82
'/dns4/wss0.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmZMxNdpMkewiVZLMRxaNxUeZpDUb34pWjZ1kZvsd16Zic' ,
83
83
'/dns4/wss1.bootstrap.libp2p.io/tcp/443/wss/ipfs/Qmbut9Ywz9YEDrz8ySBSgWyJk41Uvm2QJPhwDJzJyGFsD6' ,
84
- '/ip4/111.111.111.111/tcp/1001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLUVIT '
84
+ '/ip4/111.111.111.111/tcp/1001/ipfs/QmXFX2P5ammdmXQgfqGkfswtEVFsZUJ5KeHRXQYCTdiTAb '
85
85
]
86
86
87
87
it ( 'get bootstrap list' , ( done ) => {
@@ -93,9 +93,9 @@ describe('bootstrap', () => {
93
93
} )
94
94
95
95
it ( 'add a peer to the bootstrap list' , ( done ) => {
96
- node . bootstrap . add ( '/ip4/111.111.111.111/tcp/1001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLUVIT ' , ( err , res ) => {
96
+ node . bootstrap . add ( '/ip4/111.111.111.111/tcp/1001/ipfs/QmXFX2P5ammdmXQgfqGkfswtEVFsZUJ5KeHRXQYCTdiTAb ' , ( err , res ) => {
97
97
expect ( err ) . to . not . exist ( )
98
- expect ( res ) . to . be . eql ( { Peers : [ '/ip4/111.111.111.111/tcp/1001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLUVIT ' ] } )
98
+ expect ( res ) . to . be . eql ( { Peers : [ '/ip4/111.111.111.111/tcp/1001/ipfs/QmXFX2P5ammdmXQgfqGkfswtEVFsZUJ5KeHRXQYCTdiTAb ' ] } )
99
99
node . bootstrap . list ( ( err , list ) => {
100
100
expect ( err ) . to . not . exist ( )
101
101
expect ( list . Peers ) . to . deep . equal ( updatedList )
@@ -105,9 +105,9 @@ describe('bootstrap', () => {
105
105
} )
106
106
107
107
it ( 'remove a peer from the bootstrap list' , ( done ) => {
108
- node . bootstrap . rm ( '/ip4/111.111.111.111/tcp/1001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLUVIT ' , ( err , res ) => {
108
+ node . bootstrap . rm ( '/ip4/111.111.111.111/tcp/1001/ipfs/QmXFX2P5ammdmXQgfqGkfswtEVFsZUJ5KeHRXQYCTdiTAb ' , ( err , res ) => {
109
109
expect ( err ) . to . not . exist ( )
110
- expect ( res ) . to . be . eql ( { Peers : [ '/ip4/111.111.111.111/tcp/1001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLUVIT ' ] } )
110
+ expect ( res ) . to . be . eql ( { Peers : [ '/ip4/111.111.111.111/tcp/1001/ipfs/QmXFX2P5ammdmXQgfqGkfswtEVFsZUJ5KeHRXQYCTdiTAb ' ] } )
111
111
node . bootstrap . list ( ( err , list ) => {
112
112
expect ( err ) . to . not . exist ( )
113
113
expect ( list . Peers ) . to . deep . equal ( defaultList )
0 commit comments