Any reason for multichain accepting blank assets

+1 vote
Hi,

Unintentionally, I submitted a blank form without asset name, qty etc and found that I was able to issue multiple blank assets through API.  Is there any reason for allowing blank assets into chain or not validated.  

Some entries from listassets command:-

 [   {
        "issuetxid" : "e5cf26a7f4c04b88ae704a27199f9355a6dd220749b8c8b3fc39b2220fce0833",
        "assetref" : "12330-266-53221",
        "multiple" : 1,
        "units" : 1.00000000,
        "open" : false,
        "details" : {
        },
        "issueqty" : 0.00000000,
        "issueraw" : 0,
        "subscribed" : false
    },
    {
        "issuetxid" : "d20092e38ce64f740648c2058ea86da47a971e584f9bd03bdefe849d7ab77410",
        "assetref" : "12330-530-210",
        "multiple" : 1,
        "units" : 1.00000000,
        "open" : false,
        "details" : {
        },
        "issueqty" : 0.00000000,
        "issueraw" : 0,
        "subscribed" : false
    }
]
asked Apr 7, 2017 by saravana

1 Answer

+1 vote

Yes, we deliberately allow assets with no name, which still be referenced in the APIs by their issuetxid or assetref. This can be helpful if there's no need for a human-readable name. And there's no problem having an asset with zero quantity at all – if the asset is open, units can be created later with the issuemore command.

answered Apr 7, 2017 by MultiChain
...