Open fonimus opened 6 years ago
This may just be an issue in reading the asset name for the listassets
API, because the value that you passed looks like a txid, rather than a genuinely inaccessible asset. Please try using a different identifier instead of the name, e.g. the issuetxid
or assetref
. These also work throughout all APIs as allowed substitutes for the asset name.
In listassets
api call, I get an exception because I think the name I give is more than 31 characters.
I can still use the created asset via the issuetxid
or the assetref
once transaction has been confirmed.
The main issue is that there is no control over the asset name while performing createrawsendfrom
, so I wonder if there will not be any side effects with those created assets which have a too long name (over 32 characters)
You should be able to use the issuetxid
even before the asset is confirmed. We will check into this but it should be fine to work around it for now.
Version 1.0.5 of MultiChain has just been released, and it should fix this.
Apparently we can create assets with names which do not respect the 32 characters limitations. Those assets become unusable with their names. We are currently in production with multichain 1.0.2.
How do you think you will correct this issue ?
Here is the scenario to reproduce bug: