Skip to content

Commit

Permalink
final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gouthamp-stellar committed Nov 12, 2024
1 parent 55538ca commit 3e067c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 31 deletions.
17 changes: 8 additions & 9 deletions internal/tss/services/transaction_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,8 @@ func (t *transactionService) SignAndBuildNewFeeBumpTransaction(ctx context.Conte
tx, err := txnbuild.NewTransaction(
txnbuild.TransactionParams{
SourceAccount: &channelAccount,
//Operations: operations,
Operations: originalTx.Operations(),
BaseFee: int64(t.BaseFee),
Operations: operations,
BaseFee: int64(t.BaseFee),
Preconditions: txnbuild.Preconditions{
TimeBounds: txnbuild.NewTimeout(120),
},
Expand All @@ -135,12 +134,12 @@ func (t *transactionService) SignAndBuildNewFeeBumpTransaction(ctx context.Conte
if err != nil {
return nil, fmt.Errorf("signing transaction with channel account: %w", err)
}
/*
tx, err = t.DistributionAccountSignatureClient.SignStellarTransaction(ctx, tx, distributionAccountPublicKey)
if err != nil {
return nil, fmt.Errorf("signing transaction with distribution account: %w", err)
}
*/

tx, err = t.DistributionAccountSignatureClient.SignStellarTransaction(ctx, tx, distributionAccountPublicKey)
if err != nil {
return nil, fmt.Errorf("signing transaction with distribution account: %w", err)
}

feeBumpTx, err := txnbuild.NewFeeBumpTransaction(
txnbuild.FeeBumpTransactionParams{
Inner: tx,
Expand Down
22 changes: 0 additions & 22 deletions internal/webserver.go

This file was deleted.

0 comments on commit 3e067c0

Please sign in to comment.