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 {
136
136
return myKeysManager!. keysManager. asSignerProvider ( ) . readChanSigner ( reader: reader)
137
137
}
138
138
139
- override func getDestinationScript( ) -> [ UInt8 ] {
139
+ override func getDestinationScript( ) -> Bindings . Result_ScriptNoneZ {
140
140
print ( " entering wrapper: getDestinationScript() " )
141
141
return myKeysManager!. keysManager. asSignerProvider ( ) . getDestinationScript ( )
142
142
}
143
143
144
- override func getShutdownScriptpubkey( ) -> Bindings . ShutdownScript {
144
+ override func getShutdownScriptpubkey( ) -> Bindings . Result_ShutdownScriptNoneZ {
145
145
print ( " entering wrapper: getShutdownScriptpubkey() " )
146
146
147
147
let randomHex = " 6fe28c0ab6f1b372c1a6a246ae63f74f931e8365e15a089c68d6190000000000 "
148
148
let randomHexBytes = LDKSwiftTests . hexStringToBytes ( hexString: randomHex) !
149
149
let witnessProgram = ShutdownScript . newWitnessProgram ( version: 1 , program: randomHexBytes)
150
150
let witnessBasedScript = witnessProgram. getValue ( ) !
151
151
152
- return witnessBasedScript
152
+ return Result_ShutdownScriptNoneZ . initWithOk ( o : witnessBasedScript)
153
153
}
154
154
}
155
155
You can’t perform that action at this time.
0 commit comments