Skip to content

Commit 8d08a4a

Browse files
committed
remove attachment assignment
1 parent d0fe346 commit 8d08a4a

File tree

2 files changed

+6
-18
lines changed

2 files changed

+6
-18
lines changed

Cargo.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cli/src/command.rs

-12
Original file line numberDiff line numberDiff line change
@@ -572,17 +572,6 @@ impl Exec for RgbArgs {
572572
);
573573
}
574574
}
575-
if let Ok(allocations) = contract.attachments(details.name.clone(), &filter) {
576-
for allocation in allocations {
577-
println!(
578-
" {: >9}\t{}\t{} {}",
579-
allocation.state,
580-
allocation.seal,
581-
witness(&allocation, &contract),
582-
filter.comment(allocation.seal.to_outpoint())
583-
);
584-
}
585-
}
586575
if let Ok(allocations) = contract.rights(details.name.clone(), &filter) {
587576
for allocation in allocations {
588577
println!(
@@ -685,7 +674,6 @@ impl Exec for RgbArgs {
685674
.expect("invalid global state data");
686675
}
687676
StateType::Structured => todo!(),
688-
StateType::Attachment => todo!(),
689677
}
690678
}
691679
}

0 commit comments

Comments
 (0)