mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
feat: add fallback locktime support in PSBT deserialization (#3583)
This commit is contained in:
@@ -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>{});
|
||||
|
||||
Reference in New Issue
Block a user