transaction: fix Rules stringer, it's WitnessRules in C#

See neo-project/neo#2720.
This commit is contained in:
Roman Khimov 2022-05-06 10:08:09 +03:00
parent 7b1943a6e5
commit bd352daab4
3 changed files with 5 additions and 5 deletions

View file

@ -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