Skip to content

Error in /insight-api/addrs/txs #421

@zekylaf

Description

@zekylaf

Hi, when I use:

:/insight-api/addrs/txs"); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "addrs=1DkxXKEDJAjYVLS1WMoyEuS5svJGhMAJ78,1DkxXKEDJAjYVLS1WMoyEuS5svJGhMAJ78"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $remote_server_output = curl_exec ($ch); curl_close ($ch); print_r($remote_server_output); ?>

I get this message:

TypeError: Cannot read property 'split' of undefined
at AddressController.checkAddrs (/root/mynode/node_modules/insight-api/lib/addresses.js:89:33)
at Layer.handle as handle_request
at next (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:131:13)
at /root/mynode/node_modules/insight-api/lib/index.js:63:5
at Layer.handle as handle_request
at next (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/route.js:112:3)
at Layer.handle as handle_request
at /root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/index.js:277:22
at Function.process_params (/root/mynode/node_modules/bitcore-node/node_modules/express/lib/router/index.js:330:12)

Can anybody help please?

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