Skip to content

Commit b27f46e

Browse files
committed
dbft: fix doc
Signed-off-by: Anna Shaleva <[email protected]>
1 parent 4dc35d3 commit b27f46e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consensus/dbft/dbft.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1211,7 +1211,7 @@ func (c *DBFT) newLocalPool(parent *types.Header) *legacypool.LegacyPool {
12111211
return p
12121212
}
12131213

1214-
// ValidateDecryptedTx checks the validity of the transaction to determine whether the outer envelope transaction should be replaced.
1214+
// validateDecryptedTx checks the validity of the transaction to determine whether the outer envelope transaction should be replaced.
12151215
func (c *DBFT) validateDecryptedTx(head *types.Header, decryptedTx *types.Transaction, envelope *types.Transaction) error {
12161216
// Make sure the transaction is signed properly and has the same sender and nonce with envelope
12171217
if decryptedTx.Nonce() != envelope.Nonce() {

0 commit comments

Comments
 (0)