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

Issue with chain.time timestamp #1005

Merged
merged 2 commits into from
Mar 20, 2021
Merged

Issue with chain.time timestamp #1005

merged 2 commits into from
Mar 20, 2021

Conversation

iamdefinitelyahuman
Copy link
Member

What I did

Fix a bug in chain.mine that was introduced in v1.14.0, where if no timestamp was explicitly given all blocks were mined with a timestamp of 1.

How I did it

Correctly handle default args. Oopsie.

How to verify it

Run the tests. I added some coverage for this case.

@iamdefinitelyahuman iamdefinitelyahuman merged commit 9096a1e into master Mar 20, 2021
@iamdefinitelyahuman iamdefinitelyahuman deleted the fix-chain-mine branch March 20, 2021 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant