feat: add fallback locktime support in PSBT deserialization (#3583)

This commit is contained in:
Konstantin Ullrich
2026-09-01 14:52:57 +08:00
committed by GitHub
parent 6df6108d37
commit df87bab836
+1
View File
@@ -20,6 +20,7 @@ extension PsbtSigner on PsbtV2 {
setGlobalInputCount(tx.inputs.length);
setGlobalOutputCount(tx.outputs.length);
setGlobalTxVersion(Uint8List.fromList(tx.version).readUint32LE(0));
setGlobalFallbackLocktime(Uint8List.fromList(tx.locktime).readUint32LE(0));
for (var i = 0; i < getGlobalInputCount(); i++) {
inputMaps.insert(i, <String, Uint8List>{});