algorand / algorand/java-algorand-sdk

Serialization/Deserialization of Transaction object resets fee to 1000.

Open
#362 3 comments 0 reactions 0 assignees View on GitHub
bug good first issue Team Lamprey
Dominant language
Java
Stars
73
Forks
71
Avg merge
41m
Merged PRs (30d)
2

Description

### Subject of the issue

Fix Transaction Java serialization to preserve the fee value. In group transactions, fees can be paid by a single party in the transaction, so it is important to be able to specify a 0 transaction fee for other parties.

### Your environment
Java SDK v 1.14.0

### Steps to reproduce

1. Set the Transaction fee to 0.
2. Serialize and deserialize the transaction.
3. Note that the transaction fee is 1000, rather than 0.

### Expected behavior

The transaction fee should remain what was set.

### Actual behavior

The transaction fee is reset to 1000 after serialization/deserialization, the set value is lost.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.