Skip to content

Commit

Permalink
Remove off-by one on nutzap monitor since
Browse files Browse the repository at this point in the history
  • Loading branch information
pablof7z committed Feb 4, 2025
1 parent 974788b commit 1e8866d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndk-wallet/src/nutzap-monitor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class NDKNutzapMonitor extends EventEmitter<{
subId: 'cashu-most-recent-nutzap',
cacheUnconstrainFilter: []
})
// if (mostRecentKnownNutzap) since = mostRecentKnownNutzap.created_at! + 1; XXX
if (mostRecentKnownNutzap) since = mostRecentKnownNutzap.created_at! + 1;

// set the relay set
this.relaySet = mintList.relaySet;
Expand Down

0 comments on commit 1e8866d

Please sign in to comment.