Fix TxIn parsing #53

Merged
pitmutt merged 1 commits from rav001 into dev040 2024-04-05 17:52:04 +00:00
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)