mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-25 13:47:19 +00:00
interop: fix linter issues
Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
25b353c9f8
commit
c5c64f5f07
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue