You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: message.toBuffer is not a function
at Peer.sendMessage (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:194:29)
at Peer. (/var/sentora/hostdata/zadmin/private_js/node.js:23:8)
at emitNone (events.js:67:13)
at Peer.emit (events.js:166:7)
at Peer. (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:85:10)
at emitOne (events.js:77:13)
at Peer.emit (events.js:169:7)
at Peer._readMessage (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:221:10)
at Peer._readMessage (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:222:10)
at Socket. (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:167:10)
The text was updated successfully, but these errors were encountered:
Why can't I send messages?
/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:194
this.socket.write(message.toBuffer());
^
TypeError: message.toBuffer is not a function
at Peer.sendMessage (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:194:29)
at Peer. (/var/sentora/hostdata/zadmin/private_js/node.js:23:8)
at emitNone (events.js:67:13)
at Peer.emit (events.js:166:7)
at Peer. (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:85:10)
at emitOne (events.js:77:13)
at Peer.emit (events.js:169:7)
at Peer._readMessage (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:221:10)
at Peer._readMessage (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:222:10)
at Socket. (/var/sentora/hostdata/zadmin/node_modules/bitcore-p2p/lib/peer.js:167:10)
The text was updated successfully, but these errors were encountered: