Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two issue about block-scan. #3

Open
2 tasks
YueZh127 opened this issue Feb 18, 2019 · 0 comments
Open
2 tasks

Two issue about block-scan. #3

YueZh127 opened this issue Feb 18, 2019 · 0 comments

Comments

@YueZh127
Copy link

  • 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant