From 1fd6aa82917214fc902466ae352ed6e3ac732444 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 10 Sep 2024 19:25:31 +0300 Subject: [PATCH] internal: fix misspell internal/consensus/amev_block.go:39:44 misspell `transations` is a misspelling of `transitions` Signed-off-by: Roman Khimov --- internal/consensus/amev_block.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/consensus/amev_block.go b/internal/consensus/amev_block.go index 4df63057..76ba386d 100644 --- a/internal/consensus/amev_block.go +++ b/internal/consensus/amev_block.go @@ -36,7 +36,7 @@ func NewAMEVBlock(pre dbft.PreBlock[crypto.Uint256], cnData [][]byte, m int) dbf tx := Tx64(math.MaxInt64 - int64(sum)) res.transactions = append(preB.initialTransactions, &tx) - // Rebuild Merkle root for the new set of transations. + // Rebuild Merkle root for the new set of transactions. txHashes := make([]crypto.Uint256, len(res.transactions)) for i := range txHashes { txHashes[i] = res.transactions[i].Hash()