Skip to content

Commit 3bdcf31

Browse files
authored
Merge pull request #908 from evoskuil/master
Adapt to database methods renames.
2 parents 333091b + a9704de commit 3bdcf31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/protocols/protocol_explore.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ void protocol_explore::do_get_address(uint8_t media, const hash_cptr& hash,
956956
const address_handler& handler) NOEXCEPT
957957
{
958958
outpoints set{};
959-
if (const auto ec = archive().to_address_outputs(stopping_, set, *hash))
959+
if (const auto ec = archive().get_address_outputs(stopping_, set, *hash))
960960
{
961961
handler(ec, {}, {});
962962
return;
@@ -1029,7 +1029,7 @@ void protocol_explore::do_get_address_confirmed(uint8_t media,
10291029
const hash_cptr& hash, const address_handler& handler) NOEXCEPT
10301030
{
10311031
outpoints set{};
1032-
if (const auto ec = archive().to_confirmed_unspent_outputs(stopping_, set,
1032+
if (const auto ec = archive().get_confirmed_unspent_outputs(stopping_, set,
10331033
*hash))
10341034
{
10351035
handler(ec, {}, {});

0 commit comments

Comments
 (0)