From 9e2271c22a7a2f7c5b2599678c947b80ea567b50 Mon Sep 17 00:00:00 2001 From: jp1ac4 <121959000+jp1ac4@users.noreply.github.com> Date: Thu, 4 Apr 2024 12:08:08 +0100 Subject: [PATCH] docs: fix varint comment for `DrainWeights` The change in varint output count is now handled elsewhere. --- src/drain.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drain.rs b/src/drain.rs index 1881905..700d0dd 100644 --- a/src/drain.rs +++ b/src/drain.rs @@ -9,7 +9,7 @@ use crate::{varint_size, FeeRate, TR_KEYSPEND_TXIN_WEIGHT, TR_SPK_WEIGHT, TXOUT_ pub struct DrainWeights { /// The weight of including this drain output. /// - /// This must take into account the weight change from varint output count. + /// This must not take into account any weight change from varint output count. pub output_weight: u32, /// The weight of spending this drain output (in the future). pub spend_weight: u32,