examples: fix linter issues

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2024-10-09 18:17:22 +03:00
parent 949ed4f2ea
commit 524ba5fd1b
13 changed files with 39 additions and 42 deletions

View file

@ -7,7 +7,7 @@ import (
)
var (
// Check if the invoker of the contract is the specified owner
// Check if the invoker of the contract is the specified owner.
owner = address.ToHash160("NbrUYaZgyhSkNoRo9ugRyEMdUZxrhkNaWB")
)
@ -22,7 +22,7 @@ func init() {
// _deploy is called after contract deployment or update, it'll be called
// in deployment transaction and if call update method of this contract.
func _deploy(_ any, isUpdate bool) {
func _deploy(_ any, isUpdate bool) { // nolint: unused
if isUpdate {
Log("_deploy method called after contract update")
return