RavenProject / ravenwallet-android

MIT License
18 stars 28 forks source link

Crash when creating sub asset w/ max quantity #4

Closed cryptelius closed 5 years ago

cryptelius commented 5 years ago

Describe the issue

Android wallet app crashes when issuing a sub asset with max quantity

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Create a main asset with any quantity
  2. Issue Sub Asset > enter name and check availability, then set sub asset quantity to 21,000,000,000
  3. Click Create -- app crashes immediately

Expected behaviour

Confirmation prompt should appear prompting user to confirm new sub asset details

Actual behaviour

App crashes

Screenshots.

If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.

What version of bitcoin-core are you using?

List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.

Device specs:

Pixel 2 Android 9 Wallet version 25

Additional notes:

This issue is not limited to sub assets with maximum quantity only - I have also experienced crashes with other large quantities (all of them above 999,999,999 I believe) but crash consistently happens with max quantity