Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

CLI transfer combine: set_rgb_contract for blank #209

Merged
merged 1 commit into from
Oct 5, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ impl Exec for Opts {
if cid == contract_id {
continue;
}
let contract = client.contract(cid, vec![], progress)?;
psbt.set_rgb_contract(contract)?;
let blank_bundle = TransitionBundle::blank(&outpoint_map, &bmap! {})?;
for (transition, indexes) in blank_bundle.revealed_iter() {
psbt.push_rgb_transition(transition.clone())?;
Expand Down