Update middleware version

This commit is contained in:
Patrick O'Grady 2020-11-13 11:36:31 -08:00
parent f3d07c5e0f
commit be42005441
No known key found for this signature in database
GPG key ID: 8DE11C985C0C8D85
3 changed files with 3 additions and 5 deletions

View file

@ -92,7 +92,7 @@ func (s *NetworkAPIService) NetworkOptions(
Version: &types.Version{
RosettaVersion: types.RosettaAPIVersion,
NodeVersion: NodeVersion,
MiddlewareVersion: &MiddlewareVersion,
MiddlewareVersion: types.String(MiddlewareVersion),
},
Allow: &types.Allow{
OperationStatuses: bitcoin.OperationStatuses,

View file

@ -27,7 +27,7 @@ import (
)
var (
middlewareVersion = "0.0.6"
middlewareVersion = "0.0.7"
defaultNetworkOptions = &types.NetworkOptionsResponse{
Version: &types.Version{
RosettaVersion: types.RosettaAPIVersion,

View file

@ -39,15 +39,13 @@ const (
// inlineFetchLimit is the maximum number
// of transactions to fetch inline.
inlineFetchLimit = 100
)
var (
// MiddlewareVersion is the version
// of rosetta-bitcoin. We set this as a
// variable instead of a constant because
// we typically need the pointer of this
// value.
MiddlewareVersion = "0.0.6"
MiddlewareVersion = "0.0.7"
)
// Client is used by the servicers to get Peer information