Skip to content

Commit 921a052

Browse files
committed
Account for spend_spendable_outputs taking locktime
1 parent c66c0a0 commit 921a052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xcode/LDKFramework/DirectlyLinkedBindingsApp/app-batteries/RegtestChannelManagerPersister.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class RegtestChannelManagerPersister : Persister, ExtendedChannelManagerPersiste
3030
let fastFeerate = 7500
3131
let destinationScriptHardcoded: [UInt8] = [118,169,20,25,18,157,83,230,49,155,175,25,219,160,89,190,173,22,109,249,10,184,245,136,172]
3232

33-
guard let result = self.keysManager?.spendSpendableOutputs(descriptors: outputs, outputs: [], changeDestinationScript: destinationScriptHardcoded, feerateSatPer1000Weight: UInt32(fastFeerate)) else {
33+
guard let result = self.keysManager?.spendSpendableOutputs(descriptors: outputs, outputs: [], changeDestinationScript: destinationScriptHardcoded, feerateSatPer1000Weight: UInt32(fastFeerate), locktime: nil) else {
3434
return
3535
}
3636

0 commit comments

Comments
 (0)