Skip to content

Commit

Permalink
improve configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
credence0x committed Jan 12, 2025
1 parent 2aff149 commit d003975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/sdk/packages/eternum/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface Config {
const shortHexAddress = (address: string | undefined | null): string => {
if (!address) return 'Not set';
if (!address.startsWith('0x')) {
address = BigInt(address).toString(16);
address = '0x' + BigInt(address).toString(16);
}
return `${address.slice(0, 6)}...${address.slice(-4)}`;
};
Expand Down

0 comments on commit d003975

Please sign in to comment.