algorand / algorand/java-algorand-sdk

Removing the manager destroys the asset

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

描述

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

貢獻指南

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

評估

這個 Issue 還沒有評估資料。

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

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