forked from TrueCloudLab/neoneo-go
payload: fix wrong stringer impl for InventoryType
This commit is contained in:
parent
f636bb9b6e
commit
6cf74e2d83
1 changed files with 2 additions and 2 deletions
|
@ -16,9 +16,9 @@ type InventoryType uint8
|
|||
func (i InventoryType) String() string {
|
||||
switch i {
|
||||
case 0x01:
|
||||
return "block"
|
||||
case 0x02:
|
||||
return "TX"
|
||||
case 0x02:
|
||||
return "block"
|
||||
case 0xe0:
|
||||
return "consensus"
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue