@@ -406,10 +406,6 @@ pub struct ChannelReady {
406
406
pub short_channel_id_alias : Option < u64 > ,
407
407
}
408
408
409
- /// A randomly chosen number that is used to identify inputs within an interactive transaction
410
- /// construction.
411
- pub type SerialId = u64 ;
412
-
413
409
/// An stfu (quiescence) message to be sent by or received from the stfu initiator.
414
410
// TODO(splicing): Add spec link for `stfu`; still in draft, using from https://github.com/lightning/bolts/pull/863
415
411
#[ derive( Clone , Debug , PartialEq , Eq ) ]
@@ -473,7 +469,7 @@ pub struct TxAddInput {
473
469
pub channel_id : ChannelId ,
474
470
/// A randomly chosen unique identifier for this input, which is even for initiators and odd for
475
471
/// non-initiators.
476
- pub serial_id : SerialId ,
472
+ pub serial_id : u64 ,
477
473
/// Serialized transaction that contains the output this input spends to verify that it is non
478
474
/// malleable.
479
475
pub prevtx : TransactionU16LenLimited ,
@@ -492,7 +488,7 @@ pub struct TxAddOutput {
492
488
pub channel_id : ChannelId ,
493
489
/// A randomly chosen unique identifier for this output, which is even for initiators and odd for
494
490
/// non-initiators.
495
- pub serial_id : SerialId ,
491
+ pub serial_id : u64 ,
496
492
/// The satoshi value of the output
497
493
pub sats : u64 ,
498
494
/// The scriptPubKey for the output
@@ -507,7 +503,7 @@ pub struct TxRemoveInput {
507
503
/// The channel ID
508
504
pub channel_id : ChannelId ,
509
505
/// The serial ID of the input to be removed
510
- pub serial_id : SerialId ,
506
+ pub serial_id : u64 ,
511
507
}
512
508
513
509
/// A tx_remove_output message for removing an output during interactive transaction construction.
@@ -518,7 +514,7 @@ pub struct TxRemoveOutput {
518
514
/// The channel ID
519
515
pub channel_id : ChannelId ,
520
516
/// The serial ID of the output to be removed
521
- pub serial_id : SerialId ,
517
+ pub serial_id : u64 ,
522
518
}
523
519
524
520
/// A tx_complete message signalling the conclusion of a peer's transaction contributions during
0 commit comments