ElementsProject / ElementsProject/elements

rawissueasset doesn't allow asset_amount of zero while issueasset does

Open
#977 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
C++
Stars
1.2k
Forks
416
Avg merge
1d 23h
Merged PRs (30d)
15

Description

elements 0.18.1.9

rawissueasset doesn't allow asset_amount of zero:
```
Invalid parameter, asset_amount must be positive
```

Whereas this is ok using `issueasset`. If you use `issueasset 0 1` you get zero asset amount and 1 reissuance token and then you can effectively reissue the asset into existence.

Would be good if you could do the same with `rawissueasset` for cases where people want to issue an asset and want to know the asset id but do not know the amount they need yet.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.