From c78954e36b69dc1af2f3d063930fe1541fc3c680 Mon Sep 17 00:00:00 2001 From: zees-dev Date: Wed, 30 Oct 2024 11:59:22 +1300 Subject: [PATCH] Import struct force var public visibility (#219) # Changelog - `force` var in the `Import` struct made public # Context This is required to address https://github.com/FuelLabs/forc-wallet/issues/139 as we need to support importing wallet - which requires instantiating the `Import` struct --- src/import.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/import.rs b/src/import.rs index 75f037c..1a44bba 100644 --- a/src/import.rs +++ b/src/import.rs @@ -15,7 +15,7 @@ use std::{io::stdin, path::Path}; pub struct Import { /// Forces wallet creation, removing any existing wallet file #[clap(short, long)] - force: bool, + pub force: bool, /// How many accounts to cache by default (Default 10) #[clap(short, long)] pub cache_accounts: Option,