Co-authored-by: Nishant Das <nishdas93@gmail.com>
This commit is contained in:
Siyuan Han
2022-08-12 17:27:24 +08:00
committed by GitHub
parent 9c6efe4abd
commit f3997647ac
2 changed files with 3 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ func (m MetadataV0) SequenceNumber() uint64 {
return m.md.SeqNumber
}
// AttnetsBitfield retruns the bitfield stored in the metadata.
// AttnetsBitfield returns the bitfield stored in the metadata.
func (m MetadataV0) AttnetsBitfield() bitfield.Bitvector64 {
return m.md.Attnets
}
@@ -98,7 +98,7 @@ func (m MetadataV1) SequenceNumber() uint64 {
return m.md.SeqNumber
}
// AttnetsBitfield retruns the bitfield stored in the metadata.
// AttnetsBitfield returns the bitfield stored in the metadata.
func (m MetadataV1) AttnetsBitfield() bitfield.Bitvector64 {
return m.md.Attnets
}