sora-xor / sora-ios

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

[Bug]: Crash after XOR unbond #408

Open OlgaSamorodnova opened 7 months ago

OlgaSamorodnova commented 7 months ago

Preconditions

No response

Steps to reproduce

  1. Wallet screen - press Start inviting
  2. Bond 1 XOR and press Unbond immediately (you should unbond XOR before the Bond transaction is completed)
  3. Stay at the unbond transaction details for a while

Actual behavior

Crash happens

Expected behavior

One should have no opportunity to unbond XOR if there are no bonded XOR yet (transaction not completed)

Environment

{"label"=>"Development"}

OS version

No response

Additional context

No response

OlgaSamorodnova commented 7 months ago

https://github.com/sora-xor/sora-ios/assets/118749608/cd1b5cf3-6a1c-447c-9dfc-6eaecc8fbbf2

Trezeguet1 commented 7 months ago

Verified on 3.8.3(13) version.

The application does not crash during unbond, but this is also not ok when there is an opportunity to unbond - provided that the bond is still pending.

https://github.com/sora-xor/sora-ios/assets/51509139/693a7927-b89d-4c2a-bcbc-89915f36fe2c

Trezeguet1 commented 7 months ago

Soralution 3.8.3 (21) version.

I think the problem repeats itself when the Internet is slow.

telegram-cloud-photo-size-2-5400061127586599344-y