algorand / algorand/java-algorand-sdk

Allow TransactionBuilder to accept `null` for `fee`

Aberta
#523 9 comentários 0 reações 0 responsáveis Ver no GitHub
good first issue Team Lamprey
Linguagem predominante
Java
Estrelas
73
Forks
71
Merge médio
41min
PRs com merge (30d)
2

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.