big-spender icon indicating copy to clipboard operation
big-spender copied to clipboard

(node:40406) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property 'tx_hash' of 'maxB

Open neobet opened this issue 4 years ago • 0 comments

The ./index rbf -toAddress=XXXXX return this error: home/oem/Desktop/btc/big-spender-master# ./index rbf --toAddress=tb1q3sxe20vmqkkqad66t57tdq5n6z6xnmc32uu7p4 (node:40406) UnhandledPromiseRejectionWarning: TypeError: Cannot destructure property 'tx_hash' of 'maxBy(...)' as it is undefined. at getUtxo (/home/oem/Desktop/btc/big-spender-master/index:107:20) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Command.<anonymous> (/home/oem/Desktop/btc/big-spender-master/index:57:49) (node:40406) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:40406) [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.

neobet avatar Apr 09 '21 01:04 neobet