@@ -61,7 +61,7 @@ impl Readable for ChangeSetDeserWrapper<Network> {
61
61
impl < ' a > Writeable for ChangeSetSerWrapper < ' a , BdkLocalChainChangeSet > {
62
62
fn write < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , lightning:: io:: Error > {
63
63
// We serialize a length header to make sure we can accommodate future changes to the
64
- // BDK types..
64
+ // BDK types.
65
65
let total_len = BigSize ( self . 0 . blocks . serialized_length ( ) as u64 ) ;
66
66
total_len. write ( writer) ?;
67
67
@@ -81,7 +81,7 @@ impl Readable for ChangeSetDeserWrapper<BdkLocalChainChangeSet> {
81
81
impl < ' a > Writeable for ChangeSetSerWrapper < ' a , BdkTxGraphChangeSet < ConfirmationBlockTime > > {
82
82
fn write < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , lightning:: io:: Error > {
83
83
// We serialize a length header to make sure we can accommodate future changes to the
84
- // BDK types..
84
+ // BDK types.
85
85
let txs_len = ChangeSetSerWrapper ( & self . 0 . txs ) . serialized_length ( ) as u64 ;
86
86
let txouts_len = self . 0 . txouts . serialized_length ( ) as u64 ;
87
87
let anchors_len = ChangeSetSerWrapper ( & self . 0 . anchors ) . serialized_length ( ) as u64 ;
@@ -163,7 +163,7 @@ impl Readable for ChangeSetDeserWrapper<BTreeSet<Arc<Transaction>>> {
163
163
impl < ' a > Writeable for ChangeSetSerWrapper < ' a , ConfirmationBlockTime > {
164
164
fn write < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , lightning:: io:: Error > {
165
165
// We serialize a length header to make sure we can accommodate future changes to the
166
- // BDK types..
166
+ // BDK types.
167
167
let block_id_len = ChangeSetSerWrapper ( & self . 0 . block_id ) . serialized_length ( ) as u64 ;
168
168
let confirmation_time_len = self . 0 . confirmation_time . serialized_length ( ) as u64 ;
169
169
let total_len = BigSize ( block_id_len + confirmation_time_len) ;
@@ -189,7 +189,7 @@ impl Readable for ChangeSetDeserWrapper<ConfirmationBlockTime> {
189
189
impl < ' a > Writeable for ChangeSetSerWrapper < ' a , BlockId > {
190
190
fn write < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , lightning:: io:: Error > {
191
191
// We serialize a length header to make sure we can accommodate future changes to the
192
- // BDK types..
192
+ // BDK types.
193
193
let height_len = self . 0 . height . serialized_length ( ) as u64 ;
194
194
let hash_len = self . 0 . hash . serialized_length ( ) as u64 ;
195
195
let total_len = BigSize ( height_len + hash_len) ;
@@ -213,7 +213,7 @@ impl Readable for ChangeSetDeserWrapper<BlockId> {
213
213
impl < ' a > Writeable for ChangeSetSerWrapper < ' a , BdkIndexerChangeSet > {
214
214
fn write < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , lightning:: io:: Error > {
215
215
// We serialize a length header to make sure we can accommodate future changes to the
216
- // BDK types..
216
+ // BDK types.
217
217
let last_revealed_len =
218
218
ChangeSetSerWrapper ( & self . 0 . last_revealed ) . serialized_length ( ) as u64 ;
219
219
let total_len = BigSize ( last_revealed_len) ;
@@ -261,7 +261,7 @@ impl Readable for ChangeSetDeserWrapper<BTreeMap<DescriptorId, u32>> {
261
261
impl < ' a > Writeable for ChangeSetSerWrapper < ' a , DescriptorId > {
262
262
fn write < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , lightning:: io:: Error > {
263
263
// We serialize a length header to make sure we can accommodate future changes to the
264
- // BDK types..
264
+ // BDK types.
265
265
let hash_len = ChangeSetSerWrapper ( & self . 0 . 0 ) . serialized_length ( ) as u64 ;
266
266
let total_len = BigSize ( hash_len) ;
267
267
total_len. write ( writer) ?;
0 commit comments