From 6cf74e2d83b2c1b86ab105c1f87a9319baaef1b1 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 29 Aug 2019 20:14:16 +0300 Subject: [PATCH] payload: fix wrong stringer impl for InventoryType --- pkg/network/payload/inventory.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/network/payload/inventory.go b/pkg/network/payload/inventory.go index 7bed53eaa..012a9cf82 100644 --- a/pkg/network/payload/inventory.go +++ b/pkg/network/payload/inventory.go @@ -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: