convert addresslike to string

This commit is contained in:
Steam Deck User
2023-12-18 11:56:27 +04:00
parent 7cd71b2c60
commit b38f0ba424
3 changed files with 10 additions and 7 deletions

View File

@@ -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()
}