Skip to content

Commit 0dc2068

Browse files
Improve doc comment
Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com>
1 parent 90b3c0d commit 0dc2068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib_libwasmvm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func (vm *VM) GetMetrics() (*types.Metrics, error) {
112112
}
113113

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

0 commit comments

Comments
 (0)