ChainSafe/discv5

Error - Invalid tcp multiaddr: muConvert.toBuffer is not a function

twoeths opened this issue · 0 comments

When doing enr.tcp assignment, I got this error

✖ Error: Invalid tcp multiaddr: muConvert.toBuffer is not a function
    at updateENR (/Users/tuyennguyen/Projects/workshop/lodestar/packages/lodestar-cli/lib/util/enr.js:23:13)
    at Object.beaconHandler [as handler] (/Users/tuyennguyen/Projects/workshop/lodestar/packages/lodestar-cli/lib/cmds/beacon/handler.js:58:22)

Waiting for the debugger to disconnect...

that's because of the multiaddr upgrade to version 8.0.0 which does not contain the specified function anymore.