transaction: fix Rules stringer, it's WitnessRules in C#
See neo-project/neo#2720.
This commit is contained in:
parent
7b1943a6e5
commit
bd352daab4
3 changed files with 5 additions and 5 deletions
|
@ -62,7 +62,7 @@ var (
|
|||
|
||||
func (i CommandType) String() string {
|
||||
switch {
|
||||
case i <= 1:
|
||||
case 0 <= i && i <= 1:
|
||||
return _CommandType_name_0[_CommandType_index_0[i]:_CommandType_index_0[i+1]]
|
||||
case 16 <= i && i <= 17:
|
||||
i -= 16
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue