Closed Nsandomeno closed 2 hours ago
Thanks for the report.
Just a hunch, but I think the group anchor isn't created correctly because there's a parameter too much. The command line library we use never takes true
as an argument for a boolean flag. Just by specifying the flag itself you turn it on or set it to true
(all boolean flag are by default false
because of that).
So --new_grouped_asset true
probably causes the parser to think the flags are done and interprets true
as the first non-flag parameter (then ignoring --decimal_display 4
).
Could you please test if that's the case? So just replace --new_grouped_asset true
with --new_grouped_asset
.
@guggero Thanks for the snappy response!
Your suggestion satisfied what I was trying to achieve.
Background
I'm attempting to mint a subsequent batch of a normal, Version 0 asset where
--decimal_display
was used in the initial batches mint command. There was nometa_bytes
associated with the original mint either.Using the proper group key, it does not appear there is anyway for the next group of the asset, in a different batch, to inherit the
--decimal_display
setting of the initially minted group.Your environment
Lightning Terminal integrated mode
v0.13.993-exp
Steps to reproduce
(1) Mint the first batch, with the initial group of the asset
(2) Finalize the batch and mine some blocks.
(3) Attempt to mint the second group of the asset in a new batch. The error output indicates that the
decimal_display
should be0
(incorrectly)(4) A second attempt to mint the second group, using a
decimal_display
of0
worksExpected behavior
Expect step (3) from above to work and step (4) from above to return the error message returned from step (3).
Actual behavior
The output indicates that the daemon expects the new group to have a
decimal_display
of 0, potentially looking down a path ofgroup_anchor
rather thangroup_key
.