Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit 1c5451f

Browse files
committed
Swift reverse bytes for txid
1 parent df902ab commit 1c5451f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ios/Classes/LdkFilter.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class LdkFilter: Filter {
1717
LdkEventEmitter.shared.send(
1818
withEvent: .register_tx,
1919
body: [
20-
"txid": Data(txid ?? []).hexEncodedString(),
20+
"txid": Data(Data(txid ?? []).reversed()).hexEncodedString(),
2121
"script_pubkey": Data(script_pubkey).hexEncodedString()
2222
]
2323
)

0 commit comments

Comments
 (0)