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

Commit 4665842

Browse files
authored
Merge pull request #209 from zoedberg/fix/blank_cli
CLI transfer combine: set_rgb_contract for blank
2 parents 69219e9 + 774ed48 commit 4665842

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/src/command.rs

+2
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ impl Exec for Opts {
244244
if cid == contract_id {
245245
continue;
246246
}
247+
let contract = client.contract(cid, vec![], progress)?;
248+
psbt.set_rgb_contract(contract)?;
247249
let blank_bundle = TransitionBundle::blank(&outpoint_map, &bmap! {})?;
248250
for (transition, indexes) in blank_bundle.revealed_iter() {
249251
psbt.push_rgb_transition(transition.clone())?;

0 commit comments

Comments
 (0)