Page MenuHomePhabricator

[ecash-herald] Patch bug in daily summary calc
ClosedPublic

Authored by bytesofman on Oct 20 2024, 02:55.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC6f457b103ee2: [ecash-herald] Patch bug in daily summary calc
Summary

Typo resulting in getting last 48 hrs worth of blocks instead of 24, patch

The checker was working, but bc I was mixing up "yesterday" with "today" -- was passing "yesterday" into getAllBlockTxs, which then had to go back in time well more than 144 blocks to get the "right" (wrong) block.

Test Plan

npm test, confirm typo corrected and the "right" date is going into getAllBlockTxs

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable