Skip to content

交易报错 #53

Description

@chengquanomg

rpc很卡的时候 会出现 我调用的时候try catch没用,得sdk解决下bug吧(测试网环境~)

UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'result' of null
    at OKEXChainClient.getAccountNumberFromAccountInfo (C:\Users\Desktop\dd\ok\node_modules\@okexchain\javascript-sdk\lib\client.js:1005:26)
    at OKEXChainClient._callee5$ (C:\Users\Desktop\dd\ok\node_modules\@okexchain\javascript-sdk\lib\client.js:302:44)
    at tryCatch (C:\Users\Desktop\dd\ok\node_modules\regenerator-runtime\runtime.js:65:40)
    at Generator.invoke [as _invoke] (C:\Users\Desktop\dd\ok\node_modules\regenerator-runtime\runtime.js:303:22)
    at Generator.prototype.<computed> [as next] (C:\Users\Desktop\dd\ok\node_modules\regenerator-runtime\runtime.js:117:21)
    at asyncGeneratorStep (C:\Users\Desktop\dd\ok\node_modules\@okexchain\javascript-sdk\lib\client.js:26:103)
    at _next (C:\Users\Desktop\dd\ok\node_modules\@okexchain\javascript-sdk\lib\client.js:28:194)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions