File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
ci/LDKSwift/Tests/LDKSwiftTests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -136,20 +136,20 @@ class WrappedSignerProviderTests: XCTestCase {
136136 return myKeysManager!. keysManager. asSignerProvider ( ) . readChanSigner ( reader: reader)
137137 }
138138
139- override func getDestinationScript( ) -> [ UInt8 ] {
139+ override func getDestinationScript( ) -> Bindings . Result_ScriptNoneZ {
140140 print ( " entering wrapper: getDestinationScript() " )
141141 return myKeysManager!. keysManager. asSignerProvider ( ) . getDestinationScript ( )
142142 }
143143
144- override func getShutdownScriptpubkey( ) -> Bindings . ShutdownScript {
144+ override func getShutdownScriptpubkey( ) -> Bindings . Result_ShutdownScriptNoneZ {
145145 print ( " entering wrapper: getShutdownScriptpubkey() " )
146146
147147 let randomHex = " 6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000 "
148148 let randomHexBytes = LDKSwiftTests . hexStringToBytes ( hexString: randomHex) !
149149 let witnessProgram = ShutdownScript . newWitnessProgram ( version: 1 , program: randomHexBytes)
150150 let witnessBasedScript = witnessProgram. getValue ( ) !
151151
152- return witnessBasedScript
152+ return Result_ShutdownScriptNoneZ . initWithOk ( o : witnessBasedScript)
153153 }
154154 }
155155
You can’t perform that action at this time.
0 commit comments