-
Notifications
You must be signed in to change notification settings - Fork 38
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
[MPoW] Onchain Crypto Stage III: replace x509 with wasm webpki #280
[MPoW] Onchain Crypto Stage III: replace x509 with wasm webpki #280
Conversation
cstrml/swork/src/utils.rs
Outdated
}; | ||
|
||
let chain: Vec<&[u8]> = Vec::new(); | ||
let now_func = webpki::Time::from_seconds_since_unix_epoch(1573419050); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comments for this number
cstrml/swork/src/utils.rs
Outdated
Err(_) => return None, | ||
}; | ||
|
||
let chain: Vec<&[u8]> = Vec::new(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More meaningful name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Working on #176
verify_identity
from api.rsverify_identity
in util.rs./target/release/crust --dev --execution Wasm
and use crust-api to register identity