Skip to content

Commit

Permalink
bugfix: propose safe transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Dec 18, 2024
1 parent 6966414 commit d72d973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/base/safewallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ export class SafeWallet {
const readyExecute = signedTransaction.signatures.size >= this.threshold;
if (signedTransaction.signatures.size < this.threshold) {
try {
const signature = tx.getSignature(this.wallet.address) as EthSafeSignature;
const senderSignature = await this.safeSdk.signHash(txHash)
await this.safeService.proposeTransaction({
safeAddress: this.address,
safeTransactionData: tx.data,
safeTxHash: txHash,
senderAddress: this.wallet.address,
senderSignature: buildSignatureBytes([signature])
senderSignature: senderSignature.data,
});
this.logger.log(
`finish to propose transaction ${txHash} using ${this.safeService.name} on chain ${chainId}`
Expand Down

0 comments on commit d72d973

Please sign in to comment.