mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
standard: correct Comply* comments
This commit is contained in:
parent
64b603b056
commit
e0eff94094
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue