Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
raphjaph committed Dec 1, 2022
1 parent c3c20b8 commit 5249bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/subcommand/wallet/inscribe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ impl Inscribe {
let inscription_satpoints = index.get_inscription_satpoints()?;

if inscription_satpoints.contains(&self.satpoint) {
return Err(anyhow!(
"sat at {} already inscribed",
self.satpoint
));
return Err(anyhow!("sat at {} already inscribed", self.satpoint));
}

let commit_tx_change = get_change_addresses(&options, 2)?;
Expand Down
2 changes: 1 addition & 1 deletion tests/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ fn refuse_to_reinscribe_sats() {
.stdout_regex("commit\t[[:xdigit:]]{64}\nreveal\t[[:xdigit:]]{64}\n")
.run();

let first_inscription_id = stdout.split("reveal\t").collect::<Vec<&str>>()[1].trim();
let first_inscription_id = reveal_txid_from_inscribe_stdout(&stdout);

rpc_server.mine_blocks_with_subsidy(1, 100)[0].txdata[0].txid();

Expand Down

0 comments on commit 5249bfd

Please sign in to comment.