From 0dc2068fad6901e1fc0959a6b7d8840f9554483e Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Wed, 3 Jul 2024 11:06:48 +0200 Subject: [PATCH] Improve doc comment Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> --- lib_libwasmvm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_libwasmvm.go b/lib_libwasmvm.go index 25831aba7..e9c160926 100644 --- a/lib_libwasmvm.go +++ b/lib_libwasmvm.go @@ -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) }