Skip to content

Commit b89b6b4

Browse files
committed
fix: set signerAddress
1 parent 10e4e50 commit b89b6b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

networks/cosmos/src/signers/direct-signer.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ export class DirectSigner extends BaseCosmosSigner implements ISigningClient {
3535
throw new Error('Signer address does not match');
3636
}
3737

38+
if(args.options?.signerAddress) {
39+
args.options.signerAddress = account.address;
40+
}
41+
3842
// Create the direct workflow
3943
const workflow = new DirectWorkflow(this, {
4044
messages: args.messages,

0 commit comments

Comments
 (0)