Skip to content

bug: store.options.peer fails to select a peer #2416

@weboko

Description

@weboko

Description

When Waku node gets seeded with a Store peer to be used it accepts peer multi address but then when it is actually used to find such peer - it's value is attempted to be used as peer ID - which always fails so fallback is used and that is to get any available peer.

Expected Behavior

Must compare values correctly.

https://github.com/waku-org/js-waku/blob/a0fc9e05d4ef103b58c8ef0574bdaaaa421bf4da/packages/sdk/src/store/store.ts#L267

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions