fix: Lint issues.

This commit is contained in:
Hayden Young
2023-10-11 23:05:22 +01:00
parent 0c3e7667f3
commit e1a163bce7

View File

@@ -146,7 +146,7 @@ const Sync = async ({ ipfs, log, events, onSynced, start, timeout }) => {
const heads = await log.heads()
events.emit('join', peerId, heads)
} catch (err) {
console.log('onPeerJoined', ipfs.libp2p.peerId.toString())
console.log('onPeerJoined', ipfs.libp2p.peerId.toString())
}
}
@@ -158,7 +158,7 @@ const Sync = async ({ ipfs, log, events, onSynced, start, timeout }) => {
yield bytes
}
} catch (err) {
console.log('onPeerJoined', ipfs.libp2p.peerId.toString())
console.log('onPeerJoined', ipfs.libp2p.peerId.toString())
}
})()
}