Skip to content

Commit

Permalink
feat: use ss58 format in encodeAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
shuffledex committed Jun 11, 2020
1 parent fa8cbe3 commit 09f5905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/index.ts
Expand Up @@ -255,7 +255,7 @@ export function stringToAccountKey(accountKey: string, context: Context): Accoun
* @hidden
*/
export function accountKeyToString(accountKey: AccountKey): string {
return encodeAddress(accountKey);
return encodeAddress(accountKey, SS58_FORMAT);
}

/**
Expand Down

0 comments on commit 09f5905

Please sign in to comment.