Skip to content

Commit a44b213

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ 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+
42+
3843
// Create the direct workflow
3944
const workflow = new DirectWorkflow(this, {
4045
messages: args.messages,

0 commit comments

Comments
 (0)