Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Encode networkid as a u64. #3713

Merged
merged 2 commits into from
Dec 5, 2016
Merged

Encode networkid as a u64. #3713

merged 2 commits into from
Dec 5, 2016

Conversation

gavofyork
Copy link
Contributor

No description provided.

@gavofyork gavofyork added A0-pleasereview 🤓 Pull request needs code review. B0-patch M4-core ⛓ Core client code / Rust. labels Dec 4, 2016
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 85.947% when pulling 2911c54 on fix-v-u64 into 0c7b7fc on master.

@@ -194,7 +194,7 @@ pub fn execute(cmd: RunCmd, logger: Arc<RotatingLogger>) -> Result<(), String> {
let mut sync_config = SyncConfig::default();
sync_config.network_id = match cmd.network_id {
Some(id) => id,
None => spec.network_id(),
None => spec.network_id() as usize,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

possibility of overflow? changing the sync service to use a fixed bit-width seems sensible regardless.

@rphmeier rphmeier added A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. and removed A0-pleasereview 🤓 Pull request needs code review. labels Dec 5, 2016
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A6-mustntgrumble 💦 Pull request has areas for improvement. The author need not address them before merging. labels Dec 5, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 85.924% when pulling 43ec3d8 on fix-v-u64 into 0c7b7fc on master.

@rphmeier rphmeier merged commit a726472 into master Dec 5, 2016
@rphmeier rphmeier deleted the fix-v-u64 branch December 5, 2016 16:14
@tomusdrw tomusdrw mentioned this pull request Jan 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants