Skip to content

Commit

Permalink
Merge pull request #123 from CityOfZion/CU-86dtvmk29
Browse files Browse the repository at this point in the history
CU-86dtvmk29 - Receive adapter parameters in AbstractWalletConnectEIP…
  • Loading branch information
LeonardoDizConde authored Jun 19, 2024
2 parents dd99bad + b1ca398 commit 47df80e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cityofzion/wallet-connect-sdk-wallet-core",
"comment": "Receive adapter parameters in AbstractWalletConnectEIP155Adapter's getCustomSigner",
"type": "patch"
}
],
"packageName": "@cityofzion/wallet-connect-sdk-wallet-core"
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export abstract class AbstractWalletConnectEIP155Adapter {
const provider = new ethers.providers.JsonRpcProvider(rpcAddress)
let wallet: TCustomSigner

const customSigner = await this.getCustomSigner()
const customSigner = await this.getCustomSigner(args)
if (customSigner) {
wallet = customSigner
} else {
Expand Down Expand Up @@ -98,7 +98,8 @@ export abstract class AbstractWalletConnectEIP155Adapter {
return hash
}

async getCustomSigner(): Promise<TCustomSigner | undefined> {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
async getCustomSigner(args: TAdapterMethodParam): Promise<TCustomSigner | undefined> {
return undefined
}

Expand Down

0 comments on commit 47df80e

Please sign in to comment.