sora-xor / sora-ios

Designing a Better World Through Decentralized Technologies
Other
10 stars 2 forks source link

[Bug]: bonded XOR are calculated incorrectly #232

Closed OlgaSamorodnova closed 11 months ago

OlgaSamorodnova commented 11 months ago

Preconditions

  1. User is authorized
  2. There are 70+ XOR tokens in his wallet

Steps to reproduce

  1. Go to Settings - Invite friends & Earn
  2. Tap Start inviting
  3. Tap + sign

Actual behavior

Amount of XOR to be bonded is calculated incorrectly (0)

https://github.com/sora-xor/sora-ios/assets/118749608/0ff5276b-c692-4af2-a67a-9698d3668a61

Expected behavior

Calculations work fine

Environment

{"label"=>"Development"}

OS version

No response

Additional context

No response

Trezeguet1 commented 11 months ago

Verified on Sora Dev 1.0 (238) for iOS version.

telegram-cloud-photo-size-2-5332618505972993409-y

telegram-cloud-photo-size-2-5332618505972993410-y