Skip to content

Commit

Permalink
Remove unsed the functioin StateProvider (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
tnasu authored Nov 25, 2022
1 parent cccc128 commit 99fc39b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,6 @@ func CustomReactors(reactors map[string]p2p.Reactor) Option {
}
}

// StateProvider overrides the state provider used by state sync to retrieve trusted app hashes and
// build a State object for bootstrapping the node.
// WARNING: this interface is considered unstable and subject to change.
func StateProvider(stateProvider statesync.StateProvider) Option {
return func(n *Node) {
n.stateSyncProvider = stateProvider
}
}

//------------------------------------------------------------------------------

// Node is the highest level interface to a full Ostracon node.
Expand Down

0 comments on commit 99fc39b

Please sign in to comment.