Skip to content

Commit

Permalink
making address parameter optional to aide consumers
Browse files Browse the repository at this point in the history
  • Loading branch information
pellicceama committed Nov 12, 2022
1 parent 415749a commit 0234446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/addresses.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { toChecksumAddress } from 'ethereum-checksum-address';

export function formatAddress(address: string): string {
export function formatAddress(address?: string): string {
if(!address) {
return null;
}
Expand Down

0 comments on commit 0234446

Please sign in to comment.