From 5c8fddf4b4c04e47e13f56c2b28e0a97c2b6238e Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Tue, 8 Oct 2013 15:51:34 -0500 Subject: [PATCH] Add deprecated comments to legacy InvVect_* consts. This makes it a little more obvious in the documentation that they are deprecated. --- legacy.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/legacy.go b/legacy.go index 8c072d94..9234feaf 100644 --- a/legacy.go +++ b/legacy.go @@ -8,7 +8,7 @@ package btcwire // guidelines and are only provided for backwards compatibility. Use the // InvType* constants instead. const ( - InvVect_Error InvType = InvTypeError - InvVect_Tx InvType = InvTypeTx - InvVect_Block InvType = InvTypeBlock + InvVect_Error InvType = InvTypeError // DEPRECATED + InvVect_Tx InvType = InvTypeTx // DEPRECATED + InvVect_Block InvType = InvTypeBlock // DEPRECATED )