mirror of
https://github.com/fullstack-cash/fullstack-gatsby-theme-bch-wallet.git
synced 2026-09-21 16:52:06 -07:00
Merge pull request #154 from Permissionless-Software-Foundation/dh-fix-list
fix(list): Fixed list-peers and list-relays commands
This commit is contained in:
@@ -84,7 +84,7 @@ class CommandRouter {
|
|||||||
// console.log('appIpfs: ', appIpfs)
|
// console.log('appIpfs: ', appIpfs)
|
||||||
|
|
||||||
const relays = `Known ipfs-coord peers:\n${JSON.stringify(
|
const relays = `Known ipfs-coord peers:\n${JSON.stringify(
|
||||||
appIpfs.ipfsCoord.ipfs.peers.state.peers,
|
appIpfs.ipfsCoord.thisNode.peerData,
|
||||||
null,
|
null,
|
||||||
2
|
2
|
||||||
)}`
|
)}`
|
||||||
@@ -103,7 +103,7 @@ class CommandRouter {
|
|||||||
// console.log('appIpfs: ', appIpfs)
|
// console.log('appIpfs: ', appIpfs)
|
||||||
|
|
||||||
const relays = `Known Circuit Relays:\n${JSON.stringify(
|
const relays = `Known Circuit Relays:\n${JSON.stringify(
|
||||||
appIpfs.ipfsCoord.ipfs.cr.state.relays,
|
appIpfs.ipfsCoord.thisNode.relayData,
|
||||||
null,
|
null,
|
||||||
2
|
2
|
||||||
)}`
|
)}`
|
||||||
|
|||||||
Reference in New Issue
Block a user