hyle-team/zano

Incorrect Calculation in the Amount

SergeyZano opened this issue · 2 comments

Description:
Summary: The Amount field is incorrectly including the Fee value in its calculation.

Reproduction Steps:

Launch the application and navigate to the transaction page.
Initiate a new transaction by entering the required details.
Specify an amount for the transaction, ensuring that a Fee value is also provided.
Submit the transaction and observe the calculated Amount value.
Expected Result:
The Amount field should only consider the transaction amount and exclude the Fee value from its calculation. The calculated amount should accurately reflect the entered transaction amount.

Actual Result:
The Amount field is including the Fee value in its calculation, resulting in an incorrect calculated amount. This means that the calculated amount is higher than expected, as it includes the added Fee value.
image
Environment:

Build version: zano-win-x64-cryptoassets-testnet-v2.0.0.208[https://github.com/hyle-team/zano/commit/66cd998f4dedc9fcff0db8bca6730035313b8d6b]

Edition Windows 10 Home
Version 22H2

Such data comes, in the wallet in the history tab there are no recalculations for amount.

Corrected in Build version: 2.0.0.211 [96a05dc] TESTNET.