Bit-Nation / panthalassa

Bitnation's Jurisdiction p2p-network backend, plus utils.
MIT License
9 stars 6 forks source link

[api] panic while accessing an object on nil when signing an ethereum transaction #75

Open florianlenz opened 6 years ago

florianlenz commented 6 years ago

Problem

When Panthalassa send request to send ethereum transaction to Pangea, Pangea sends back an error (on transaction cancelling). This data is sent to PanthalassaSendResponse method:

{
    data = "";
    id = "1fbce65d-3c53-4078-bed8-de0346ca512b";
    responseError = "";
    timeout = 20;
}

The result is that app is crashed right away with that stack trace:

screen shot 2018-08-11 at 7 19 21 pm

Expected

Expected app to not crash and handle error response correctly.

Note

Panthalassa version is from commit 5ef89802d334be5ab86eda73cfc688332b81f3aa.

florianlenz commented 6 years ago

can we close this?