Skip to content

Bug: Campfire shows wrong balance and crashes on send #6

@reubenyap

Description

@reubenyap

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Wallet had 1 FIRO deposited in and one FIRO sent out using Spark.
Transaction list showed the 1 FIRO sent out stuck in pending despite it already been sent out.
https://explorer.firo.org/tx/e1630c068c29a68fa3884d4f7cd73202a117edd25a8a351829f1d7b53927c874

Upon resync and rescan, 1 FIRO sent out transaction pending is cleared and doesn't show on the transaction list and incorrectly shows that there is 1 FIRO to be sent out.

When you attempt to send that 1 FIRO out, wallet will force close and crash.

Expected Behavior

Wallet should show that there is 1 firo received and 1 FIRO sent out.
And not allow the 1 FIRO transaction to be created.
And also not force close.

Reproduce Steps

See above. Can provide seed.

Environment

  • Operating system and version: Windows 11
  • Device platform and version: 2.0.1 Build 42
  • Real device or emulator/simulator:

Logs

https://gist.github.com/reubenyap/a06bf23b5fcf987319eac819bdb9d208

Further Information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions