Page MenuHomePhabricator

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

Authored by bytesofman on Sun, Oct 20, 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
Branch
herald-summary-bug-fix
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30695
Build 60906: Build Diffecash-herald-tests
Build 60905: arc lint + arc unit