Skip to content

Commit

Permalink
Remove unused function (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnerd committed Apr 8, 2024
1 parent 80604e8 commit 3bf2ad0
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/scanner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1142,13 +1142,6 @@ namespace lws
} // while scanning
}

expect<std::list<crypto::hash>> get_chain_sync(expect<db::storage_reader> reader)
{
if (!reader)
return reader.error();
return reader->get_chain_sync();
}

template<typename R, typename Q>
expect<typename R::response> fetch_chain(rpc::client& client, const char* endpoint, const Q& req)
{
Expand Down

0 comments on commit 3bf2ad0

Please sign in to comment.