Skip to content

Commit

Permalink
swaps: Don't select empty addresses from cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
s373nZ committed Oct 25, 2024
1 parent 6309432 commit 1cf7746
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Boss/Mod/SwapManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ class SwapManager::Impl {
/* First, try to get an address from the addrcache. */
auto check = tx.query(R"QRY(
SELECT id, address FROM "SwapManager_addrcache"
WHERE address IS NOT NULL
AND address <> ''
ORDER BY id
LIMIT 1
;
Expand Down

0 comments on commit 1cf7746

Please sign in to comment.