Skip to content

Commit

Permalink
undo changes - 3
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed Jan 18, 2024
1 parent 6063490 commit 9dbe116
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions cmd/soroban-rpc/internal/methods/get_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,6 @@ func GetTransaction(getter transactionGetter, request GetTransactionRequest) (Ge
}

tx, found, storeRange := getter.GetTransaction(txHash)
if err != nil {
return GetTransactionResponse{}, err
}
response := GetTransactionResponse{
LatestLedger: storeRange.LastLedger.Sequence,
LatestLedgerCloseTime: storeRange.LastLedger.CloseTime,
Expand Down
1 change: 0 additions & 1 deletion cmd/soroban-rpc/internal/methods/send_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func NewSendTransactionHandler(daemon interfaces.Daemon, logger *log.Entry, stor
txHash := hex.EncodeToString(hash[:])

ledgerInfo := store.GetLatestLedger()

resp, err := submitter.SubmitTransaction(ctx, request.Transaction)
if err != nil {
logger.WithError(err).
Expand Down

0 comments on commit 9dbe116

Please sign in to comment.