Skip to content

Commit

Permalink
Make build script public (ordinals#4085)
Browse files Browse the repository at this point in the history
  • Loading branch information
arronzhang authored Nov 21, 2024
1 parent b0e7b20 commit 8f9c2ee
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/inscriptions/inscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,7 @@ impl Inscription {
bytes
}

pub(crate) fn append_reveal_script_to_builder(
&self,
mut builder: script::Builder,
) -> script::Builder {
pub fn append_reveal_script_to_builder(&self, mut builder: script::Builder) -> script::Builder {
builder = builder
.push_opcode(opcodes::OP_FALSE)
.push_opcode(opcodes::all::OP_IF)
Expand Down Expand Up @@ -149,7 +146,7 @@ impl Inscription {
self.append_reveal_script_to_builder(builder).into_script()
}

pub(crate) fn append_batch_reveal_script_to_builder(
pub fn append_batch_reveal_script_to_builder(
inscriptions: &[Inscription],
mut builder: script::Builder,
) -> script::Builder {
Expand All @@ -160,7 +157,7 @@ impl Inscription {
builder
}

pub(crate) fn append_batch_reveal_script(
pub fn append_batch_reveal_script(
inscriptions: &[Inscription],
builder: script::Builder,
) -> ScriptBuf {
Expand Down

0 comments on commit 8f9c2ee

Please sign in to comment.