Skip to content

Commit

Permalink
fixup commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
jgough committed Jan 21, 2025
1 parent 1347ba4 commit 23467ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var (
ErrNoJsonGiven = errors.New("no json given")
)

// AppDataToVerifiableLogEntries converts the app data to verifiable log entries
// AppDataToVerifiableLogEntries converts the app data (one or more app entries) to verifiable log entries
func AppDataToVerifiableLogEntries(appData []byte, logTenant string) ([]app.AppEntry, error) {

// first attempt to convert the appdata to a list of events
Expand Down
1 change: 1 addition & 0 deletions verifyincluded.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func proofPath(proof [][]byte) string {
return fmt.Sprintf("[%s]", strings.Join(hexProof, ", "))
}

// verifyEvent is an example function of how to verify the inclusion of a datatrails event using the mmr and massifs modules
func verifyEvent(
event *app.AppEntry, logTenant string, mmrEntry []byte, massifHeight uint8, massifGetter MassifGetter,
) ([][]byte, error) {
Expand Down

0 comments on commit 23467ab

Please sign in to comment.