We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8efa330 + c40be41 commit d7c4dbaCopy full SHA for d7c4dba
1 file changed
packages/sdk/src/utils/format/addressEllipsis.ts
@@ -1,6 +1,6 @@
1
export default function addressEllipsis(address: string) {
2
if (typeof address !== 'string') {
3
- throw new Error('address is not a string');
+ return ''
4
}
5
6
// 0x0000000000000000000000000000000000000000 40bits / 42 length
0 commit comments