Skip to content

Commit 8f9c2ee

Browse files
authored
Make build script public (ordinals#4085)
1 parent b0e7b20 commit 8f9c2ee

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/inscriptions/inscription.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,7 @@ impl Inscription {
116116
bytes
117117
}
118118

119-
pub(crate) fn append_reveal_script_to_builder(
120-
&self,
121-
mut builder: script::Builder,
122-
) -> script::Builder {
119+
pub fn append_reveal_script_to_builder(&self, mut builder: script::Builder) -> script::Builder {
123120
builder = builder
124121
.push_opcode(opcodes::OP_FALSE)
125122
.push_opcode(opcodes::all::OP_IF)
@@ -149,7 +146,7 @@ impl Inscription {
149146
self.append_reveal_script_to_builder(builder).into_script()
150147
}
151148

152-
pub(crate) fn append_batch_reveal_script_to_builder(
149+
pub fn append_batch_reveal_script_to_builder(
153150
inscriptions: &[Inscription],
154151
mut builder: script::Builder,
155152
) -> script::Builder {
@@ -160,7 +157,7 @@ impl Inscription {
160157
builder
161158
}
162159

163-
pub(crate) fn append_batch_reveal_script(
160+
pub fn append_batch_reveal_script(
164161
inscriptions: &[Inscription],
165162
builder: script::Builder,
166163
) -> ScriptBuf {

0 commit comments

Comments
 (0)