Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: issue 25 - Crash if trying to send a transaction from a new account #37
When a new account is created it is not directly know at all the nodes. When trying to send to/from this account using the postTransaction() method internally the getFromNode() method returns a failure status in the body of the response. There is no check for this status and subsequently the app will crash. This bug is described in issue #25.
I have fixed this bug by adding the necessary checks and error handling to the postTransaction() method.
I have spotted some other bugs in this file and will submit separate PRs for them later.