|
January 06, 2021, 07:49:37 PM |
|
I get an error when enter api key of yolodice in mydicebot-console-201027-linux-x64. Can anybody tell how to connect to yolodice correctly?
(node:2921) UnhandledPromiseRejectionWarning: Error: Invalid network at Functio[Suspicious link removed]ivateKey._transformBuffer (/snapshot/src/node_modules/bitcore-lib/lib/privatekey.js:152:11) at Functio[Suspicious link removed]ivateKey._transformWIF (/snapshot/src/node_modules/bitcore-lib/lib/privatekey.js:196:21) at PrivateKey._classifyArguments (/snapshot/src/node_modules/bitcore-lib/lib/privatekey.js:108:25) at new PrivateKey (/snapshot/src/node_modules/bitcore-lib/lib/privatekey.js:48:19) at Functio[Suspicious link removed]ivateKey.fromString.PrivateKey.fromWIF (/snapshot/src/node_modules/bitcore-lib/lib/privatekey.js:236:10) at YoloDice.connect (/snapshot/src/api/models/yolo.js:38:45) at <anonymous> at process._tickCallback (internal/process/next_tick.js:188:7) (node:2921) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:2921) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. Connection closed
|