I had created a native asset named msg_only
[
- {
- "name":"msg_only",
- "issuetxid":"8b920f9b9eb35e62be036bdef7a41bbb8af1eda887a9e0d62b5400bc2b599764",
- "assetref":"23-265-37515",
- "multiple":1,
- "units":1.00000000,
- "open":false,
- "details":{},
- "issueqty":1000000000.00000000,
- "issueraw":1000000000
}
]
Trying sending zero quantity of assets to an address using sendassetfrom and sendfromaddress gives different result sets:
Ex: sendfromaddress 1VUV2Ud8dokuP6e3DTpXVYVJX7U8d3HKdR3pZn 1b4JS5pRfgb7z5C7GbZiRf4So6FVnVgkdCcKoi '{"msg_only":0}'
Result: 711ebcf8f114347543e17e384bb3ee05ca4231a5916f20dd373ac017d9e1af93
Ex: multichain-cli loan sendassetfrom 1VUV2Ud8dokuP6e3DTpXVYVJX7U8d3HKdR3pZn 1b4JS5pRfgb7z5C7GbZiRf4So6FVnVgkdCcKoi msg_only 0
Result: error: {"code":-5,"message":"Invalid asset quantity"}
Just wanted to discuss the difference in behaviour. I understand the multiple defined as 1 which might be creating the constrain.
Version used: "version" : "1.0 alpha 18"