Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Implement success/error step 3 of send LSK/BTC - closes #1930 #2005
What issue have I solved?
How have I implemented/fixed it?
For this implementation I took as based the mobile code as in there this functionality is already implemented.
The send function changed to properly receive the parameters from LSK and BTC and then based on that check the active token and send the parameters to the correct API function.
Now the send function do 2 things create the transactions (Lisk elements -> transfer) and then broadcast the transaction.
How has this been tested?
For test the LSK send functionality I used the send LSK form and confirm that the transaction successfully submit and show up in the wallet transactions table.
For the BTC is necessary mock the BTC data and submit the transaction. Once that the part 1 and 2 of the send request is done supporting BTC, the whole flow needs to be tested.