Adjusted LocationToAccountApi (#5919)

This commit is contained in:
Branislav Kontur
2024-06-26 09:28:57 -04:00
committed by GitHub
parent c5446d6fef
commit a95bca939d
@@ -8,14 +8,14 @@ export const runtime: DefinitionsCall = {
{
methods: {
convert_location: {
description: 'Converts `Location` to `Account` with `AccountId` and Ss58 representation',
description: 'Converts `Location` to `AccountId`',
params: [
{
name: 'location',
type: 'XcmVersionedLocation'
}
],
type: 'Result<Vec<u8>, Error>'
type: 'Result<AccountId, Error>'
}
},
version: 1