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 摘要。