ElementsProject / ElementsProject/elements

rawissueasset doesn't allow asset_amount of zero while issueasset does

Offen
#977 0 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
1.2k
Forks
416
Ø Merge
1 T. 23 Std.
Gemergte PRs (30 T.)
15

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.