Skip to content

Commit

Permalink
Improve doc comment
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Warta <[email protected]>
  • Loading branch information
chipshort and webmaster128 authored Jul 3, 2024
1 parent 90b3c0d commit 0dc2068
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib_libwasmvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func (vm *VM) GetMetrics() (*types.Metrics, error) {
}

// GetPinnedMetrics returns some internal metrics of pinned contracts for monitoring purposes.
// The order of entries is non-deterministic.
// The order of entries is non-deterministic and the values are node-specific. Don't use this in consensus-critical contexts.
func (vm *VM) GetPinnedMetrics() (*types.PinnedMetrics, error) {
return api.GetPinnedMetrics(vm.cache)
}
Expand Down

0 comments on commit 0dc2068

Please sign in to comment.