Update network version
This commit is contained in:
parent
70a1dc2cbf
commit
74541ca0c0
4 changed files with 3 additions and 6 deletions
|
@ -180,6 +180,7 @@ func Initialize(
|
|||
bitcoin.OperationTypes,
|
||||
bitcoin.OperationStatuses,
|
||||
services.Errors,
|
||||
nil,
|
||||
)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("%w: unable to initialize asserter", err)
|
||||
|
|
|
@ -90,7 +90,7 @@ func (s *NetworkAPIService) NetworkOptions(
|
|||
) (*types.NetworkOptionsResponse, *types.Error) {
|
||||
return &types.NetworkOptionsResponse{
|
||||
Version: &types.Version{
|
||||
RosettaVersion: RosettaVersion,
|
||||
RosettaVersion: types.RosettaAPIVersion,
|
||||
NodeVersion: NodeVersion,
|
||||
MiddlewareVersion: &MiddlewareVersion,
|
||||
},
|
||||
|
|
|
@ -30,7 +30,7 @@ var (
|
|||
middlewareVersion = "0.0.4"
|
||||
defaultNetworkOptions = &types.NetworkOptionsResponse{
|
||||
Version: &types.Version{
|
||||
RosettaVersion: "1.4.5",
|
||||
RosettaVersion: types.RosettaAPIVersion,
|
||||
NodeVersion: "0.20.1",
|
||||
MiddlewareVersion: &middlewareVersion,
|
||||
},
|
||||
|
|
|
@ -23,10 +23,6 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
// RosettaVersion is the version of the
|
||||
// Rosetta Specification we are using.
|
||||
RosettaVersion = "1.4.5"
|
||||
|
||||
// NodeVersion is the version of
|
||||
// bitcoin core we are using.
|
||||
NodeVersion = "0.20.1"
|
||||
|
|
Loading…
Reference in a new issue