mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-16 16:21:32 +03:00
convert addresslike to string
This commit is contained in:
@@ -5,5 +5,5 @@ export async function addressLikeToString(address: AddressLike): Promise<string>
|
||||
if (typeof address !== 'string') {
|
||||
address = await address.getAddress()
|
||||
}
|
||||
return address
|
||||
return address.toLowerCase()
|
||||
}
|
||||
Reference in New Issue
Block a user