A BPoS blockchain that enables cross-chain interoperability through a unified service model -- built with Cosmos-SDK
304
stars
127
forks
source link
[p3] Incorrect description of error prompt when user try to swap all the tokens from the liquid-pool #1931
Closed
shilei-wang closed 5 years ago
To Reproduce pool: iris token 10 10
exchange(15iris, 10tokens) return: Msg 0 failed: {"codespace":"coinswap","code":108,"message":"insufficient funds, want:10, actual:10"}
It would be better if it returns: "tokens to be brought could not greater than or equal to 10"