Skip to content

Commit

Permalink
Remove unused contract parameter in `getSafeProxyFactoryContractInsta…
Browse files Browse the repository at this point in the history
…nce` for Web3Adapter
  • Loading branch information
tmjssz committed Jan 25, 2024
1 parent 1073bdd commit 423f28f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions packages/protocol-kit/src/adapters/web3/Web3Adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,8 @@ class Web3Adapter implements EthAdapter {
if (!contractAddress) {
throw new Error('Invalid SafeProxyFactory contract address')
}
const proxyFactoryContract = this.getContract(
contractAddress,
customContractAbi ?? (singletonDeployment?.abi as AbiItem[])
)
return getSafeProxyFactoryContractInstance(
safeVersion,
proxyFactoryContract,
contractAddress,
this,
customContractAbi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ export function getMultiSendCallOnlyContractInstance(

export async function getSafeProxyFactoryContractInstance(
safeVersion: SafeVersion,
safeProxyFactoryContract_: any,
contractAddress: string,
web3Adapter: Web3Adapter,
customContractAbi?: AbiItem | AbiItem[] | undefined
Expand Down

0 comments on commit 423f28f

Please sign in to comment.