Skip to content

Commit

Permalink
Rename member function in NetworkOPs.h
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeLoser authored and seelabs committed Jun 1, 2018
1 parent f0cec3b commit 57ab0a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ripple/app/main/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ bool ApplicationImp::setup()
{
// This should probably become the default once we have a stable network.
if (!config_->standalone())
m_networkOPs->needNetworkLedger ();
m_networkOPs->setNeedNetworkLedger();

startGenesisLedger ();
}
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/app/misc/NetworkOPs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ class NetworkOPsImp final
*/
void setStateTimer () override;

void needNetworkLedger () override
void setNeedNetworkLedger () override
{
needNetworkLedger_ = true;
}
Expand Down
3 changes: 1 addition & 2 deletions src/ripple/app/misc/NetworkOPs.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ class NetworkOPs
virtual void setStandAlone () = 0;
virtual void setStateTimer () = 0;

// VFALCO TODO rename to setNeedNetworkLedger
virtual void needNetworkLedger () = 0;
virtual void setNeedNetworkLedger () = 0;
virtual void clearNeedNetworkLedger () = 0;
virtual bool isNeedNetworkLedger () = 0;
virtual bool isFull () = 0;
Expand Down

0 comments on commit 57ab0a0

Please sign in to comment.