Skip to content

Commit

Permalink
chore: remove unnecessary iface class generics
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jul 31, 2024
1 parent 8563b58 commit 9d81d9a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ psbt = { git = "https://github.com/BP-WG/bp-std", branch = "master" }
bp-std = { git = "https://github.com/BP-WG/bp-std", branch = "master" }
bp-wallet = { git = "https://github.com/BP-WG/bp-wallet", branch = "master" }
rgb-core = { git = "https://github.com/RGB-WG/rgb-core", branch = "mining" }
rgb-invoice = { git = "https://github.com/RGB-WG/rgb-std", branch = "mining" }
rgb-std = { git = "https://github.com/RGB-WG/rgb-std", branch = "mining" }
rgb-interfaces = { git = "https://github.com/RGB-WG/rgb-interfaces.git", branch = "mining" }
rgb-invoice = { git = "https://github.com/RGB-WG/rgb-std", branch = "iface-generics" }
rgb-std = { git = "https://github.com/RGB-WG/rgb-std", branch = "iface-generics" }
rgb-interfaces = { git = "https://github.com/RGB-WG/rgb-interfaces.git", branch = "iface-generics" }
6 changes: 3 additions & 3 deletions cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,23 +346,23 @@ impl Exec for RgbArgs {
standard: Some(IfaceStandard::Rgb20),
} => {
let stock = self.rgb_stock()?;
for info in stock.contracts_by::<Rgb20<_>>()? {
for info in stock.contracts_by::<Rgb20>()? {
print!("{info}");
}
}
Command::Contracts {
standard: Some(IfaceStandard::Rgb21),
} => {
let stock = self.rgb_stock()?;
for info in stock.contracts_by::<Rgb21<_>>()? {
for info in stock.contracts_by::<Rgb21>()? {
print!("{info}");
}
}
Command::Contracts {
standard: Some(IfaceStandard::Rgb25),
} => {
let stock = self.rgb_stock()?;
for info in stock.contracts_by::<Rgb25<_>>()? {
for info in stock.contracts_by::<Rgb25>()? {
print!("{info}");
}
}
Expand Down

0 comments on commit 9d81d9a

Please sign in to comment.