From 4f759cb1b0fb2a61550deba34aa2500c41c8228f Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Wed, 28 Dec 2022 15:01:16 +0100 Subject: [PATCH 1/2] Feat: Derive strict encoding for funding transaction --- src/bitcoin/segwitv0/funding.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/bitcoin/segwitv0/funding.rs b/src/bitcoin/segwitv0/funding.rs index f09b91a8..3dac1530 100644 --- a/src/bitcoin/segwitv0/funding.rs +++ b/src/bitcoin/segwitv0/funding.rs @@ -148,3 +148,5 @@ impl Decodable for Funding { }) } } + +impl_strict_encoding!(Funding); From de3de681ece5067ae20e38c472b64895fd2a9f81 Mon Sep 17 00:00:00 2001 From: TheCharlatan Date: Wed, 28 Dec 2022 15:25:12 +0100 Subject: [PATCH 2/2] Chore: Update changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14b9edc6..0fa34c17 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Added + +- Derive strict encoding for FundingTx (segwit v0) by @TheCharlatan + ([#320](https://github.com/farcaster-project/farcaster-core/pull/320/files)) + ## [0.6.2] - 2022-12-28 ### Added