File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
bitcoin/src/blockdata/script Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ impl ScriptBuf {
89
89
}
90
90
}
91
91
92
+ mod tmp_pub {
93
+ use super :: * ;
92
94
impl ScriptBuf {
93
95
/// Creates a new script builder
94
96
pub fn builder ( ) -> Builder { Builder :: new ( ) }
@@ -151,7 +153,10 @@ impl ScriptBuf {
151
153
/// multiple times.
152
154
pub fn scan_and_push_verify ( & mut self ) { self . push_verify ( self . last_opcode ( ) ) ; }
153
155
}
156
+ }
154
157
158
+ mod tmp_priv {
159
+ use super :: * ;
155
160
impl ScriptBuf {
156
161
/// Pretends to convert `&mut ScriptBuf` to `&mut Vec<u8>` so that it can be modified.
157
162
///
@@ -216,6 +221,7 @@ impl ScriptBuf {
216
221
}
217
222
}
218
223
}
224
+ }
219
225
220
226
impl < ' a > core:: iter:: FromIterator < Instruction < ' a > > for ScriptBuf {
221
227
fn from_iter < T > ( iter : T ) -> Self
You can’t perform that action at this time.
0 commit comments