interop: fix linter issues

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2024-10-09 18:25:05 +03:00
parent 25b353c9f8
commit c5c64f5f07
2 changed files with 1 additions and 2 deletions

View file

@ -88,7 +88,7 @@ type WitnessCondition struct {
// WitnessConditionType represents the type of rule-based witness condition. // WitnessConditionType represents the type of rule-based witness condition.
type WitnessConditionType byte type WitnessConditionType byte
// Various witness condition types // Various witness condition types.
const ( const (
// WitnessBoolean is a generic boolean condition. // WitnessBoolean is a generic boolean condition.
WitnessBoolean WitnessConditionType = 0x00 WitnessBoolean WitnessConditionType = 0x00

View file

@ -130,5 +130,4 @@ func GetAccountState(addr interop.Hash160) *AccountState {
// GetCommitteeAddress represents `getCommitteeAddress` method of NEO native contract. // GetCommitteeAddress represents `getCommitteeAddress` method of NEO native contract.
func GetCommitteeAddress() interop.Hash160 { func GetCommitteeAddress() interop.Hash160 {
return neogointernal.CallWithToken(Hash, "getCommitteeAddress", int(contract.ReadStates)).(interop.Hash160) return neogointernal.CallWithToken(Hash, "getCommitteeAddress", int(contract.ReadStates)).(interop.Hash160)
} }