algorand / algorand/java-algorand-sdk

Removing the manager destroys the asset

Đang mở
#439 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug Team Scytale
Ngôn ngữ chính
Java
Star
73
Fork
71
Merge trung bình
41 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.