-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
- 1. When send method is transfer, the scan will hit the error.
'Block Height: 181, Error when Promise.all(transactionPromises)',
TypeError: txInfo.params.split is not a function
at transactionFormat (/home/zhengyue/github/aelf-block-scan/lib/format.js:122:38)
at insertOptions.transactionsDetail.txsList.map.item (/home/zhengyue/github/aelf-block-scan/index.js:290:36)
at Array.map (<anonymous>)
at Promise.all.then (/home/zhengyue/github/aelf-block-scan/index.js:289:68)
at process._tickCallback (internal/process/next_tick.js:68:7),
- 2. when the transaction is failed for Insufficient resource balance, the scan will hit the error.
(node:25809) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'find' of undefined
at formatResourceDetail (/home/zhengyue/github/aelf-block-scan/lib/formatResource.js:46:34)
at resourceTxs.map.item (/home/zhengyue/github/aelf-block-scan/lib/insertPure.js:101:16)
at Array.map (<anonymous>)
at insertResourceTransactions (/home/zhengyue/github/aelf-block-scan/lib/insertPure.js:100:46)
at insertBlockAndTxs (/home/zhengyue/github/aelf-block-scan/index.js:337:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
(node:25809) 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:25809) [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.
Metadata
Metadata
Assignees
Labels
No labels