blocknet
blocknet copied to clipboard
dxSplitAddress returns incorrect error content if wallet is locked
Env: Blocknet core 4.3.3 public
Steps to reproduce:
- via console enter cmd:
dxsplitaddress BLOCK amount address - if the wallet is currently locked the error is returned as:
{
"error": "Bad Request address is invalid or not in the wallet for token BLOCK",
"code": 1004,
"name": "dxSplitAddress"
}
Expected:
- return:
{
"error": "Address split is not possible when the wallet is locked for token BLOCK. Please unlock the wallet and try again.",
"code": ???,
"name": "dxSplitAddress"
}