Add deprecated comments to legacy InvVect_* consts.
This makes it a little more obvious in the documentation that they are deprecated.
This commit is contained in:
parent
93d86305a2
commit
5c8fddf4b4
1 changed files with 3 additions and 3 deletions
|
@ -8,7 +8,7 @@ package btcwire
|
||||||
// guidelines and are only provided for backwards compatibility. Use the
|
// guidelines and are only provided for backwards compatibility. Use the
|
||||||
// InvType* constants instead.
|
// InvType* constants instead.
|
||||||
const (
|
const (
|
||||||
InvVect_Error InvType = InvTypeError
|
InvVect_Error InvType = InvTypeError // DEPRECATED
|
||||||
InvVect_Tx InvType = InvTypeTx
|
InvVect_Tx InvType = InvTypeTx // DEPRECATED
|
||||||
InvVect_Block InvType = InvTypeBlock
|
InvVect_Block InvType = InvTypeBlock // DEPRECATED
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue