Skip to content

Commit

Permalink
Merge pull request #7 from catalyst17/default_blocktag
Browse files Browse the repository at this point in the history
Add default parameter value for block tag
  • Loading branch information
jfschwarz authored Dec 8, 2022
2 parents 776adab + dd36b08 commit 8c6adfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const GNOSIS_SAFE_PROXY_INTERFACE = [
const detectProxyTarget = (
proxyAddress: string,
jsonRpcRequest: EIP1193ProviderRequestFunc,
blockTag?: BlockTag
blockTag: BlockTag = 'latest'
): Promise<string | null> =>
Promise.any([
// EIP-1167 Minimal Proxy Contract
Expand Down

0 comments on commit 8c6adfe

Please sign in to comment.