Merge pull request 'Fix `TxIn` parsing' (#53) from rav001 into dev040

Reviewed-on: #53
This commit is contained in:
pitmutt 2024-04-05 17:52:02 +00:00 committed by Vergara Technologies LLC
commit a06fd08172
Signed by: Vergara Technologies LLC
GPG Key ID: 99DB473BB4715618
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.5.3.0]
### Fixed
- Parsing of `TxIn` for FFI
## [0.5.2.0]
### Added

View File

@ -160,7 +160,7 @@ fromRawTxIn t = H.TxIn op (rti_script t) (rti_seq t)
then H.nullOutPoint
else H.OutPoint
((fromJust .
H.hexToTxHash . E.decodeUtf8Lenient . rop_hash . rti_outpoint)
H.hexToTxHash . toText . hexString . rop_hash . rti_outpoint)
t)
(rop_n $ rti_outpoint t)