mirror of
https://github.com/waku-org/js-waku.git
synced 2025-02-17 23:06:37 +00:00
fix: only override ping metadata in peer store
This commit is contained in:
parent
86249dfe29
commit
73d78aa0ad
@ -56,7 +56,7 @@ export class KeepAliveManager {
|
||||
}
|
||||
|
||||
try {
|
||||
await peerStore.patch(peerId, {
|
||||
await peerStore.merge(peerId, {
|
||||
metadata: {
|
||||
ping: utf8ToBytes(ping.toString())
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user