Merge pull request #915 from status-im/logs

This commit is contained in:
fryorcraken.eth 2022-08-31 13:26:09 +10:00 committed by GitHub
commit 9248b01958
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -231,6 +231,7 @@ export class Waku {
if (relayPeriodSecs !== 0) {
this.relayKeepAliveTimers[peerIdStr] = setInterval(() => {
log("Sending Waku Relay ping message");
WakuMessage.fromBytes(new Uint8Array(), RelayPingContentTopic).then(
(wakuMsg) => this.relay.send(wakuMsg)
);

View File

@ -232,7 +232,8 @@ export class WakuStore {
}
dbg(
`${response.messages.length} messages retrieved for pubsub topic ${opts.pubSubTopic}`
`${response.messages.length} messages retrieved for (${opts.pubSubTopic})`,
contentTopics
);
const pageMessages: WakuMessage[] = [];