Skip to content

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

@florianlenz

Description

@florianlenz

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 5ef8980.

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