algorand / algorand/java-algorand-sdk

Serialization/Deserialization of Transaction object resets fee to 1000.

未关闭
#362 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug good first issue Team Lamprey
主要语言
Java
星标
73
派生
71
平均合并
41 分钟
30 天内合并 PR
2

描述

### 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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。