algorand / algorand/java-algorand-sdk

Serialization/Deserialization of Transaction object resets fee to 1000.

Đang mở
#362 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug good first issue Team Lamprey
Ngôn ngữ chính
Java
Star
73
Fork
71
Merge trung bình
41 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.