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 {
|
func (i InventoryType) String() string {
|
||||||
switch i {
|
switch i {
|
||||||
case 0x01:
|
case 0x01:
|
||||||
return "block"
|
|
||||||
case 0x02:
|
|
||||||
return "TX"
|
return "TX"
|
||||||
|
case 0x02:
|
||||||
|
return "block"
|
||||||
case 0xe0:
|
case 0xe0:
|
||||||
return "consensus"
|
return "consensus"
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue