algorand / algorand/java-algorand-sdk

Allow TransactionBuilder to accept `null` for `fee`

オープン
#523 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る
good first issue Team Lamprey
主要言語
Java
スター
73
フォーク
71
平均マージ
41分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。