fix: only override ping metadata in peer store

This commit is contained in:
Arseniy Klempner 2024-04-25 23:31:25 -07:00
parent 86249dfe29
commit 73d78aa0ad
No known key found for this signature in database
GPG Key ID: 51653F18863BD24B
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ export class KeepAliveManager {
}
try {
await peerStore.patch(peerId, {
await peerStore.merge(peerId, {
metadata: {
ping: utf8ToBytes(ping.toString())
}