Skip to content

Commit

Permalink
client: fix config issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottyPoi committed Dec 17, 2024
1 parent c7e5cf8 commit 8c11a9b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/portalnetwork/src/client/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class PortalNetwork extends (EventEmitter as { new (): PortalNetworkEvent
},
}
const config = { ...defaultConfig, ...opts.config }
config.config = { ...defaultConfig.config, ...opts.config?.config }
let bootnodes = opts.bootnodes
if (opts.rebuildFromMemory === true && opts.db) {
const prevEnrString = await opts.db.get('enr')
Expand Down

0 comments on commit 8c11a9b

Please sign in to comment.