@@ -81,7 +81,7 @@ describe('bootstrap', () => {
8181 '/ip6/2604:a880:1:20::1d9:6001/tcp/4001/ipfs/QmSoLju6m7xTh3DuokvT3886QRYqxAzb1kShaanJgW36yx' ,
8282 '/dns4/wss0.bootstrap.libp2p.io/tcp/443/wss/ipfs/QmZMxNdpMkewiVZLMRxaNxUeZpDUb34pWjZ1kZvsd16Zic' ,
8383 '/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 '
8585 ]
8686
8787 it ( 'get bootstrap list' , ( done ) => {
@@ -93,9 +93,9 @@ describe('bootstrap', () => {
9393 } )
9494
9595 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 ) => {
9797 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 ' ] } )
9999 node . bootstrap . list ( ( err , list ) => {
100100 expect ( err ) . to . not . exist ( )
101101 expect ( list . Peers ) . to . deep . equal ( updatedList )
@@ -105,9 +105,9 @@ describe('bootstrap', () => {
105105 } )
106106
107107 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 ) => {
109109 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 ' ] } )
111111 node . bootstrap . list ( ( err , list ) => {
112112 expect ( err ) . to . not . exist ( )
113113 expect ( list . Peers ) . to . deep . equal ( defaultList )
0 commit comments