Skip to content

Commit

Permalink
Update dot/types/inherents.go
Browse files Browse the repository at this point in the history
Co-authored-by: noot <36753753+noot@users.noreply.github.com>
  • Loading branch information
jimjbrettj and noot authored Oct 5, 2021
1 parent ce2049b commit 0cb69f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/types/inherents.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (d *InherentsData) String() string {
return str
}

// SetInt64Inherent set the Int64 scale.Marshal for a given data
// SetInt64Inherent set an inherent of type uint64
func (d *InherentsData) SetInt64Inherent(key []byte, data uint64) error {
if len(key) != 8 {
return errors.New("inherent key must be 8 bytes")
Expand Down

0 comments on commit 0cb69f5

Please sign in to comment.