theQRL / mobile-wallet

QRL mobile wallet based on the react-native framework
MIT License
11 stars 22 forks source link

Unable to send two transactions in a short period of time #77

Open 12remember opened 5 years ago

12remember commented 5 years ago

Action: Sending transaction no.1 when still uncomfirmed > trying to send transaction no. 2 after adjusting the OTS key Index to n+1

Expected Result: Also sending transaction no.2

Actual Result: Getting an error saying "Pending transaction identified, You have a pending transaction on the network. Please check your OTS index again as it might need to be adjucted manually"

Android Version: 7. Android Handset model: Samsung Galaxy S6 SM-G920F

ademcan commented 5 years ago

Thanks @12remember, indeed this is a precaution we added for the first version of the wallet. The OTS key index used was fixed, and the next OTS key to use was retrieved from the node. This should not be an issue anymore for v2 as the users are able to modify the OTS key index. However, that change requires some more in-depth modification, I therefore add it to the feature lists for v3.