Skip to content

Commit 28f12c3

Browse files
committed
Use const, remove dead comment.
1 parent 4f4ae74 commit 28f12c3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/dispatch.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static void show_version(std::ostream& stream)
134134
LIBBITCOIN_VERSION % coinnet << std::endl;
135135
}
136136

137-
static console_result init_chain(path& directory, std::ostream& output,
137+
static console_result init_chain(const path& directory, std::ostream& output,
138138
std::ostream& error)
139139
{
140140
// Create the directory as a convenience for the user, and then use it
@@ -169,7 +169,7 @@ static console_result init_chain(path& directory, std::ostream& output,
169169
return console_result::okay;
170170
}
171171

172-
static console_result verify_chain(path& directory, std::ostream& error)
172+
static console_result verify_chain(const path& directory, std::ostream& error)
173173
{
174174
// Use missing directory as a sentinel indicating lack of initialization.
175175

@@ -192,7 +192,6 @@ static console_result verify_chain(path& directory, std::ostream& error)
192192
static bool stopped = false;
193193
static void interrupt_handler(int)
194194
{
195-
// BUGBUG: this message is not making it to the console on Windows.
196195
bc::cout << BS_SERVER_STOPPING << std::endl;
197196
stopped = true;
198197
}

0 commit comments

Comments
 (0)