Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ type BTCInsertEvent struct {
BTCHeaders []BTCHeader
}

// ToStringSlice converts BTCHeaders to a slice of strings
// ToHeadersStringSlice converts BTCHeaders to a slice of strings
func (e BTCInsertEvent) ToHeadersStringSlice() string {
var headers []string
for _, header := range e.BTCHeaders {
Expand Down
2 changes: 1 addition & 1 deletion internal/packages/babylon/checkpoint/indexer/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func ExtractBabylonExtendVoteAndBlockInfo(resp []byte) (
return 0, time.Time{}, nil, errors.New("unexpected errors")
}

// parseDynamicMessage dynamically parses the message based on its type.
// ParseDynamicMessage dynamically parses the message based on its type.
func ParseDynamicMessage(message json.RawMessage, typeURL string) ([]BabylonExtendVote, error) {
switch typeURL {
case BabylonInjectedCheckpointMessageType:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func ParseDynamicEvent(event types.BlockEvent) (interface{}, error) {
}
}

// parseDynamicMessage dynamically parses the message based on its type.
// ParseDynamicMessage dynamically parses the message based on its type.
func ParseDynamicMessage(message json.RawMessage, typeURL string) (interface{}, error) {
switch typeURL {
case BabylonCovenantSignatureMessageType:
Expand Down