Skip to content

Commit

Permalink
Fix match
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Dec 5, 2023
1 parent ececd1c commit a349ef1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/src/client/api/block_builder/input_selection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ impl InputSelection {
// PANIC: safe to unwrap as non basic/account/foundry/nft outputs are already filtered out.
.unwrap();

let required_address = match required_address {
let required_address = match &required_address {
Some(address) => {
if let Address::Restricted(restricted) = &address {
*restricted.address()
if let Address::Restricted(restricted) = address {
restricted.address()
} else {
address
}
Expand Down

0 comments on commit a349ef1

Please sign in to comment.