Skip to content

Commit 90ab65b

Browse files
committed
Comments.
1 parent e33a488 commit 90ab65b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/protocols/protocol_explore.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,6 @@ void protocol_explore::complete_get_address(const code& ec, uint8_t media,
997997
{
998998
BC_ASSERT(stranded());
999999

1000-
// This suppresses the error response resulting from cancelation.
10011000
if (stopped())
10021001
return;
10031002

@@ -1055,7 +1054,6 @@ bool protocol_explore::handle_get_address_confirmed(const code& ec,
10551054
void protocol_explore::do_get_address_confirmed(uint8_t media,
10561055
const hash_cptr& hash, const address_handler& handler) NOEXCEPT
10571056
{
1058-
// Not stranded, query is threadsafe.
10591057
const auto& query = archive();
10601058

10611059
// TODO: push into database as single call, generalize outpoint_set.
@@ -1134,10 +1132,8 @@ bool protocol_explore::handle_get_address_balance(const code& ec,
11341132
void protocol_explore::do_get_address_balance(uint8_t media,
11351133
const system::hash_cptr& hash, const balance_handler& handler) NOEXCEPT
11361134
{
1137-
// Not stranded, query is threadsafe.
11381135
const auto& query = archive();
11391136

1140-
// TODO: push into database as single call, generalize outpoint_set.
11411137
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11421138
// TODO: change query to return code to differentiate cancel vs. integrity.
11431139
uint64_t balance{};

0 commit comments

Comments
 (0)