Skip to content

Commit b37daa5

Browse files
committed
antimev: fix documentation of IsEnvelope
Signed-off-by: Anna Shaleva <[email protected]>
1 parent 0ebf43d commit b37daa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

antimev/envelope.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var (
3737
minEncryptedDataSize = EncryptedDataPrefixLen + EncryptedDataRoundLen + EncryptedDataHashLen + tpke.CipherTextSize + 105 + (aes.BlockSize - 105%aes.BlockSize)
3838
)
3939

40-
// isEnvelope checks whether a transaction is an Envelope transaction. The criteria
40+
// IsEnvelope checks whether a transaction is an Envelope transaction. The criteria
4141
// include receiver's address, data prefix and data length check.
4242
func IsEnvelope(tx *types.Transaction) bool {
4343
if tx.To() == nil || *(tx.To()) != systemcontracts.GovernanceRewardProxyHash {

0 commit comments

Comments
 (0)