mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-05 13:06:20 +00:00
examples: fix linter issues
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
949ed4f2ea
commit
524ba5fd1b
13 changed files with 39 additions and 42 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue