algorand / algorand/java-algorand-sdk

Removing the manager destroys the asset

Abierto
#439 3 comentarios 0 reacciones 0 asignados Ver en GitHub
bug Team Scytale
Lenguaje dominante
Java
Estrellas
73
Forks
71
Merge medio
41 min
PR fusionados (30 d)
2

Descripción

### Subject of the issue

If you remove the manager address, it actually behaves like you're destroying the asset.

### Your environment

algosdk 1.13.0

### Steps to reproduce

1. Use `AssetCreateTransactionBuilder` to create an asset with a manager asset.
2. Query the blockchain for the asset using `GetAssetByID` and notice it works.
3. Use `AssetConfigureTransactionBuilder` to set the manager asset to `null`.
4. Query the blockchain for the asset using `GetAssetByID` and notice it doesn't work and the asset is "destroyed".

### Expected behavior

If I had created the asset in the beginning without a manager, then it would have worked.

The expected behavior is that the `AssetConfigureTransactionBuilder` should simply remove the manager address and not destroy it.

### Actual behavior

The asset is destroyed.

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.