@@ -443,10 +443,6 @@ pub struct ChannelReady {
443
443
pub short_channel_id_alias : Option < u64 > ,
444
444
}
445
445
446
- /// A randomly chosen number that is used to identify inputs within an interactive transaction
447
- /// construction.
448
- pub type SerialId = u64 ;
449
-
450
446
/// An `stfu` (quiescence) message to be sent by or received from the stfu initiator.
451
447
///
452
448
// TODO(splicing): Add spec link for `stfu`; still in draft, using from https://github.com/lightning/bolts/pull/1160
@@ -514,7 +510,7 @@ pub struct TxAddInput {
514
510
pub channel_id : ChannelId ,
515
511
/// A randomly chosen unique identifier for this input, which is even for initiators and odd for
516
512
/// non-initiators.
517
- pub serial_id : SerialId ,
513
+ pub serial_id : u64 ,
518
514
/// Serialized transaction that contains the output this input spends to verify that it is non
519
515
/// malleable.
520
516
pub prevtx : TransactionU16LenLimited ,
@@ -535,7 +531,7 @@ pub struct TxAddOutput {
535
531
pub channel_id : ChannelId ,
536
532
/// A randomly chosen unique identifier for this output, which is even for initiators and odd for
537
533
/// non-initiators.
538
- pub serial_id : SerialId ,
534
+ pub serial_id : u64 ,
539
535
/// The satoshi value of the output
540
536
pub sats : u64 ,
541
537
/// The scriptPubKey for the output
@@ -550,7 +546,7 @@ pub struct TxRemoveInput {
550
546
/// The channel ID
551
547
pub channel_id : ChannelId ,
552
548
/// The serial ID of the input to be removed
553
- pub serial_id : SerialId ,
549
+ pub serial_id : u64 ,
554
550
}
555
551
556
552
/// A [`tx_remove_output`] message for removing an output during interactive transaction construction.
@@ -561,7 +557,7 @@ pub struct TxRemoveOutput {
561
557
/// The channel ID
562
558
pub channel_id : ChannelId ,
563
559
/// The serial ID of the output to be removed
564
- pub serial_id : SerialId ,
560
+ pub serial_id : u64 ,
565
561
}
566
562
567
563
/// [`A tx_complete`] message signalling the conclusion of a peer's transaction contributions during
0 commit comments