File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
ci/LDKSwift/Tests/LDKSwiftTests Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,13 @@ class WrappedSignerProviderTests: XCTestCase {
143143
144144 override func getShutdownScriptpubkey( ) -> Bindings . ShutdownScript {
145145 print ( " entering wrapper: getShutdownScriptpubkey() " )
146- let scriptPubkey = myKeysManager!. keysManager. asSignerProvider ( ) . getShutdownScriptpubkey ( )
147- return scriptPubkey
146+
147+ let randomHex = " 6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000 "
148+ let randomHexBytes = LDKSwiftTests . hexStringToBytes ( hexString: randomHex) !
149+ let witnessProgram = ShutdownScript . newWitnessProgram ( version: 1 , program: randomHexBytes)
150+ let witnessBasedScript = witnessProgram. getValue ( ) !
151+
152+ return witnessBasedScript
148153 }
149154 }
150155
You can’t perform that action at this time.
0 commit comments