Skip to content

Commit

Permalink
also forbid entry.destination in same-sat mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiqiangxu committed Jan 21, 2024
1 parent 4b95ff6 commit df412b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subcommand/wallet/inscribe/batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -600,10 +600,10 @@ impl Batchfile {
.inscriptions
.iter()
.any(|entry| entry.destination.is_some())
&& self.mode == Mode::SharedOutput
&& (self.mode == Mode::SharedOutput || self.mode == Mode::SameSat)
{
return Err(anyhow!(
"individual inscription destinations cannot be set in shared-output mode"
"individual inscription destinations cannot be set in shared-output or same-sat mode"
));
}

Expand Down

0 comments on commit df412b9

Please sign in to comment.