From e0eff94094ea8fdcf9942343c4e2544561b5ac43 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 26 Oct 2022 21:24:34 +0300 Subject: [PATCH] standard: correct Comply* comments --- pkg/smartcontract/manifest/standard/comply.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/smartcontract/manifest/standard/comply.go b/pkg/smartcontract/manifest/standard/comply.go index edf3634b1..f8991c793 100644 --- a/pkg/smartcontract/manifest/standard/comply.go +++ b/pkg/smartcontract/manifest/standard/comply.go @@ -55,12 +55,12 @@ func check(m *manifest.Manifest, checkNames bool, standards ...string) error { } // Comply if m has all methods and event from st manifest and they have the same signature. -// Parameter names are ignored. +// Parameter names are checked to exactly match the ones in the given standard. func Comply(m *manifest.Manifest, st *Standard) error { return comply(m, true, st) } -// ComplyABI is similar to comply but doesn't check parameter names. +// ComplyABI is similar to Comply but doesn't check parameter names. func ComplyABI(m *manifest.Manifest, st *Standard) error { return comply(m, false, st) }