Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spec failure due to reliance on timestamps #81

Closed
mhanne opened this issue Apr 6, 2014 · 2 comments
Closed

Spec failure due to reliance on timestamps #81

mhanne opened this issue Apr 6, 2014 · 2 comments

Comments

@mhanne
Copy link
Contributor

mhanne commented Apr 6, 2014

https://travis-ci.org/lian/bitcoin-ruby/jobs/22364291

 5. Block timestamp must not be more than two hours in the future [FAILED]

Bacon::Error: [:max_timestamp, [1396757559, 1396753960]].==([:max_timestamp, [1396757559, 1396753959]]) failed
    spec/bitcoin/storage/validation_spec.rb:51:in `check_block': block rules (utxo - postgres) - 5. Block timestamp must not be more than two hours in the future
    spec/bitcoin/storage/validation_spec.rb:76:in `block (3 levels) in <main>'
    spec/bitcoin/storage/validation_spec.rb:74:in `block (2 levels) in <main>'
    spec/bitcoin/storage/validation_spec.rb:22:in `block in <main>'
    spec/bitcoin/storage/validation_spec.rb:18:in `each'
    spec/bitcoin/storage/validation_spec.rb:18:in `<main>'
@mhanne mhanne added bug labels Apr 6, 2014
@mhanne
Copy link
Contributor Author

mhanne commented Jul 22, 2014

Fixed by 46ce627

@mhanne mhanne added next and removed todo labels Jul 22, 2014
@mhanne
Copy link
Contributor Author

mhanne commented Sep 22, 2014

This has been merged

@mhanne mhanne closed this as completed Sep 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant