algorand / algorand/java-algorand-sdk

Allow TransactionBuilder to accept `null` for `fee`

Abierto
#523 9 comentarios 0 reacciones 0 asignados Ver en GitHub
good first issue Team Lamprey
Lenguaje dominante
Java
Estrellas
73
Forks
71
Merge medio
41 min
PR fusionados (30 d)
2

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.