Skip to content

Commit

Permalink
actually make the parameter optional...
Browse files Browse the repository at this point in the history
  • Loading branch information
briancorbin committed May 12, 2023
1 parent a524ec3 commit 5a6f888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion full-service/src/json_rpc/v2/api/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ pub enum JsonCommandRequest {
import_view_only_account_from_hardware_wallet {
name: Option<String>,
first_block_index: Option<String>,
fog_info: FogInfo,
fog_info: Option<FogInfo>,
},
remove_account {
account_id: String,
Expand Down
2 changes: 1 addition & 1 deletion full-service/src/json_rpc/v2/api/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ where
.map_err(format_error)?;

let account = service
.import_view_only_account_from_hardware_wallet(name, fb, Some(fog_info))
.import_view_only_account_from_hardware_wallet(name, fb, fog_info)
.await
.map_err(format_error)?;

Expand Down

0 comments on commit 5a6f888

Please sign in to comment.