< Summary - Combined Code Coverage

Information
Class: NLightning.Domain.Protocol.Payloads.TxRemoveInputPayload
Assembly: NLightning.Domain
File(s): /home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Payloads/TxRemoveInputPayload.cs
Tag: 30_15166811759
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 28
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor(...)100%11100%
get_ChannelId()100%11100%
get_SerialId()100%11100%

File(s)

/home/runner/work/nlightning/nlightning/src/NLightning.Domain/Protocol/Payloads/TxRemoveInputPayload.cs

#LineLine coverage
 1namespace NLightning.Domain.Protocol.Payloads;
 2
 3using Interfaces;
 4using Messages;
 5using ValueObjects;
 6
 7/// <summary>
 8/// Represents a tx_remove_input payload.
 9/// </summary>
 10/// <remarks>
 11/// The tx_remove_input payload is used to remove an input from the transaction.
 12/// </remarks>
 13/// <param name="channelId">The channel id.</param>
 14/// <param name="serialId">The serial id.</param>
 15/// <seealso cref="TxRemoveInputMessage"/>
 16/// <seealso cref="ValueObjects.ChannelId"/>
 817public class TxRemoveInputPayload(ChannelId channelId, ulong serialId) : IMessagePayload
 18{
 19    /// <summary>
 20    /// The channel id.
 21    /// </summary>
 1622    public ChannelId ChannelId { get; } = channelId;
 23
 24    /// <summary>
 25    /// The serial id.
 26    /// </summary>
 1627    public ulong SerialId { get; } = serialId;
 28}