diff --git a/tools/genesis/src/compare.rs b/tools/genesis/src/compare.rs index a831562a0..b3c155533 100644 --- a/tools/genesis/src/compare.rs +++ b/tools/genesis/src/compare.rs @@ -136,7 +136,7 @@ pub fn compare_recovery_vec_to_genesis_tx( #[derive(Serialize, Deserialize)] struct JsonDump { balance: GasCoinStoreResource, - slow: SlowWalletBalance, + slow: Option, } /// Compare the balances in a recovery file to the balances in a genesis blob. pub fn export_account_balances( @@ -165,8 +165,7 @@ pub fn export_account_balances( let slow = account_state_view .get_move_resource::() - .expect("should have a slow wallet struct") - .unwrap(); + .expect("should have a slow wallet struct"); let balance = account_state_view .get_move_resource::()