Skip to content

Commit

Permalink
Return api.EpochBasedProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsporn committed Nov 17, 2023
1 parent 7fb5ea5 commit 40268be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (x *RawProtocolParameters) Unwrap() (iotago.EpochIndex, iotago.ProtocolPara
return iotago.EpochIndex(x.StartEpoch), params, nil
}

func (x *NodeConfiguration) APIProvider() iotago.APIProvider {
func (x *NodeConfiguration) APIProvider() *api.EpochBasedProvider {
// Create a new api provider that uses the protocol parameters of the node
apiProvider := api.NewEpochBasedProvider()

Expand Down

0 comments on commit 40268be

Please sign in to comment.