Skip to content

Commit

Permalink
Nit
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Oct 29, 2023
1 parent bb0f302 commit 11c7c9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/client/api/block_builder/input_selection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ impl InputSelection {
.unwrap()
.0;

if let Address::Restricted(address) = required_address {
self.addresses.contains(address.address())
if let Address::Restricted(restricted_address) = required_address {
self.addresses.contains(restricted_address.address())
} else {
self.addresses.contains(&required_address)
}
Expand Down

0 comments on commit 11c7c9d

Please sign in to comment.