diff --git a/src/lic.rs b/src/lic.rs index a268acc..428ead4 100644 --- a/src/lic.rs +++ b/src/lic.rs @@ -28,6 +28,8 @@ pub struct Post { next_check_time: u64, #[serde(default)] nonce: String, + #[serde(default)] + tip: String, } const LICENSE_FILE: &'static str = ".license.txt"; @@ -129,6 +131,9 @@ fn check_email(machine: String, email: String, version: String) -> ResultType