Branch: refs/heads/master
Home: https://github.com/conformal/btcchain
Commit: 6af93023744264c2d49de0d21588604c62d0b60c
https://github.com/conformal/btcchain/commit/6af93023744264c2d49de0d21588604c62d0b60c
Author: Dave Collins <[email protected]>
Date: 2014-10-11 (Sat, 11 Oct 2014)
Changed paths:
M mediantime.go
M mediantime_test.go
Log Message:
-----------
More false positive prevention in new time tests.
This commit extends the same logic in the previous commit to the
comparison of offsets returned from the median time source in the tests.
In particular it modifies the tests to allow for the offsets to differ by
a second due to a boundary condition to prevent false positives.