From 7e70795a15cf1e5de4455330fd9232b626f847d2 Mon Sep 17 00:00:00 2001 From: Nikolay Eskov Date: Sun, 17 Dec 2023 04:29:42 +0300 Subject: [PATCH] Add 'TODO' for 'transactionHandler.performTx' in the case of failed transaction. --- pkg/state/transaction_handler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/state/transaction_handler.go b/pkg/state/transaction_handler.go index 524ae2c9c..86fe225b9 100644 --- a/pkg/state/transaction_handler.go +++ b/pkg/state/transaction_handler.go @@ -239,6 +239,7 @@ func (h *transactionHandler) performTx( }, ) } else { + // TODO: generate balance atomic snapshots here for failed transactions snapshot = txSnapshot{ regular: []proto.AtomicSnapshot{ &proto.TransactionStatusSnapshot{Status: proto.TransactionFailed},