Skip to content

Commit

Permalink
fix witness send of 2+ assets
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Dec 14, 2023
1 parent 7de9a9e commit 124ef9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5635,12 +5635,12 @@ impl Wallet {

let mut runtime = self._rgb_runtime()?;
let mut witness_recipients: Vec<(ScriptBuf, u64)> = vec![];
let mut recipient_vout = 0;
let mut transfer_info_map: BTreeMap<String, InfoAssetTransfer> = BTreeMap::new();
for (asset_id, recipients) in recipient_map {
self.database.check_asset_exists(asset_id.clone())?;

let mut local_recipients: Vec<LocalRecipient> = vec![];
let mut recipient_vout = 0;
for recipient in recipients.clone() {
self._check_transport_endpoints(&recipient.transport_endpoints)?;
if recipient.amount == 0 {
Expand Down

0 comments on commit 124ef9e

Please sign in to comment.