-
Notifications
You must be signed in to change notification settings - Fork 0
Description
(node:5085) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "key.key" property must be of type string or an instance of Buffer, TypedArray, DataView, or KeyObject. Received an instance of Object
at prepareAsymmetricKey (internal/crypto/keys.js:288:13)
at preparePrivateKey (internal/crypto/keys.js:308:10)
at Sign.sign (internal/crypto/sig.js:101:46)
at Object.exports.hashAndSign (/home/stallingerl/Documents/BlockPro/node_modules/libp2p-crypto/src/keys/rsa.js:44:6)
at RsaPrivateKey.sign (/home/stallingerl/Documents/BlockPro/node_modules/libp2p-crypto/src/keys/rsa-class.js:63:19)
at Function.Envelope.seal (/home/stallingerl/Documents/BlockPro/node_modules/libp2p/src/record/envelope/index.js:154:42)
at updateSelfPeerRecord (/home/stallingerl/Documents/BlockPro/node_modules/libp2p/src/record/utils.js:21:35)
at EventEmitter. (/home/stallingerl/Documents/BlockPro/node_modules/libp2p/src/transport-manager.js:181:40)
at EventEmitter.emit (events.js:315:20)
at Server. (/home/stallingerl/Documents/BlockPro/node_modules/libp2p-tcp/src/listener.js:136:37)