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 {
8989 }
9090}
9191
92+ mod tmp_pub {
93+ use super :: * ;
9294impl ScriptBuf {
9395 /// Creates a new script builder
9496 pub fn builder ( ) -> Builder { Builder :: new ( ) }
@@ -151,7 +153,10 @@ impl ScriptBuf {
151153 /// multiple times.
152154 pub fn scan_and_push_verify ( & mut self ) { self . push_verify ( self . last_opcode ( ) ) ; }
153155}
156+ }
154157
158+ mod tmp_priv {
159+ use super :: * ;
155160impl ScriptBuf {
156161 /// Pretends to convert `&mut ScriptBuf` to `&mut Vec<u8>` so that it can be modified.
157162 ///
@@ -216,6 +221,7 @@ impl ScriptBuf {
216221 }
217222 }
218223}
224+ }
219225
220226impl < ' a > core:: iter:: FromIterator < Instruction < ' a > > for ScriptBuf {
221227 fn from_iter < T > ( iter : T ) -> Self
You can’t perform that action at this time.
0 commit comments