Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/dht-buckets/components/DhtBucket/DhtBucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function DhtBucket({
const emptySlots = bucketCapacity - peers.length
if (emptySlots < 0) {
console.warn(
`Invalid data recieved: ${peers.length} peers in bucket ${bucketNum} with capacity ${bucketCapacity}`
`Invalid data received: ${peers.length} peers in bucket ${bucketNum} with capacity ${bucketCapacity}`
)
}
const validatedEmptySlots = Math.max(0, emptySlots)
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/hooks/useDatastore.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ function closeWebsocket(ws, { reason, statusCode = 1000 }) {
}

function onWebsocketPauseChange(oldWsData, { isPaused }) {
// No error if connection closed between pause signal being sent and recieved
// No error if connection closed between pause signal being sent and received
if (!oldWsData) return null

return {
Expand Down