LocationToAccountId
reverse AccountId to Location can't distinguish #4296
Description
current there're AccountId32Aliases
inside LocationToAccountId
, we add another RelayChainAccountId32Aliases
type in orml PR.
both of those two struct type can reverse AccountId
to MultiLocation
, thus only the first one will take effect. for example: if we configure with order (AccountId32Aliases, RelayChainAccountId32Aliases)
, then reverse AccountId
on LocationToAccountId
resulting (0, AccountId32)
. there'er no chance to get into (1, AccountId32)
only if we configured with order (RelayChainAccountId32Aliases, AccountId32Aliases)
, but at the same time, the latter configure also cause no chance to get into (0, AccountId32)
.
Also I've checked polkadot codebase, seems there're no usercase invoking reverse()
method on LocationToAccountId
, Am I right?