Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-ogrady committed Dec 9, 2020
1 parent 7343de0 commit 685d967
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configuration/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const (
DefaultGethURL = "http://localhost:8545"

// MiddlewareVersion is the version of rosetta-ethereum.
MiddlewareVersion = "0.0.3"
MiddlewareVersion = "0.0.4"
)

// Configuration determines how
Expand Down
2 changes: 1 addition & 1 deletion ethereum/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (ec *Client) Status(ctx context.Context) (
targetIndex := int64(progress.HighestBlock)

syncStatus = &RosettaTypes.SyncStatus{
CurrentIndex: currentIndex,
CurrentIndex: &currentIndex,
TargetIndex: &targetIndex,
}
}
Expand Down
4 changes: 2 additions & 2 deletions services/network_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
)

var (
middlewareVersion = "0.0.3"
middlewareVersion = "0.0.4"
defaultNetworkOptions = &types.NetworkOptionsResponse{
Version: &types.Version{
RosettaVersion: types.RosettaAPIVersion,
Expand Down Expand Up @@ -100,7 +100,7 @@ func TestNetworkEndpoints_Online(t *testing.T) {
currentTime := int64(1000000000000)

syncStatus := &types.SyncStatus{
CurrentIndex: 100,
CurrentIndex: types.Int64(100),
}

peers := []*types.Peer{
Expand Down

0 comments on commit 685d967

Please sign in to comment.