From 71e47eb64fe2649906a0a0553bc379d92d51e7d6 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Thu, 25 Apr 2024 15:54:44 -0400 Subject: [PATCH] tables: fix incorrect doc --- database/src/tables.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/src/tables.rs b/database/src/tables.rs index 846d4054..6ac71dfb 100644 --- a/database/src/tables.rs +++ b/database/src/tables.rs @@ -350,10 +350,10 @@ tables! { /// Maps an output's amount to the number of outputs with that amount. /// - /// For a new output the `AmountIndex` value from this - /// table will be its index in a list of duplicate outputs. + /// For example, if there are 5 outputs with `amount = 123` + /// then calling `get(123)` on this table will return 5. NumOutputs, - Amount => AmountIndex, + Amount => u64, /// TODO PrunedTxBlobs,