algorand / algorand/java-algorand-sdk

Allow TransactionBuilder to accept `null` for `fee`

未關閉
#523 9 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
good first issue Team Lamprey
主要語言
Java
星號
73
分支
71
平均合併
41 分鐘
30 天內合併 PR
2

描述

## Problem

I'd like to rely on suggested params to populate most of the fields but when overriding the `fee` on the transaction with a `flatFee` the builder errors since both `fee` and `flatFee` are set.

If I try to pass `null` to the `fee` method, it only works in the case of `BigInteger` which may be changed at some point.

## Solution

Allow `fee` method in builder to accept `null` for Integer or Long so we can properly unset the fee parameter while still allowing `suggestedParameters` to be passed instead of individual arguments.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。