f06d6af2f0
This commit fixes a panic when deserializing PSBTs in raw binary. If the key type was SighashType and the value was not 4 bytes long, the call to binary.LittleEndian.Uint32(value) would panic as the function expects 4 bytes to parse into a uint32. We now perform a sanity check that asserts that the value is 4 bytes long. |
||
---|---|---|
.. | ||
bip32.go | ||
creator.go | ||
extractor.go | ||
finalizer.go | ||
go.mod | ||
go.sum | ||
partial_input.go | ||
partial_output.go | ||
partialsig.go | ||
psbt.go | ||
psbt_test.go | ||
signer.go | ||
types.go | ||
updater.go | ||
utils.go |