Skip to content

Commit

Permalink
internal: fix misspell
Browse files Browse the repository at this point in the history
internal/consensus/amev_block.go:39:44       misspell    `transations` is a misspelling of `transitions`

Signed-off-by: Roman Khimov <[email protected]>
  • Loading branch information
roman-khimov committed Sep 10, 2024
1 parent 8bf51ca commit 1fd6aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/consensus/amev_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1fd6aa8

Please sign in to comment.