From 4ab8a67b170c0ae8da47f91e6ae67f9949f96047 Mon Sep 17 00:00:00 2001 From: cong-or Date: Wed, 24 Jan 2024 10:41:59 +0000 Subject: [PATCH] docs(explain spending counter removal): key-hole surgery --- .../chain-impl-mockchain/src/accounting/account/spending.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chain-libs/chain-impl-mockchain/src/accounting/account/spending.rs b/src/chain-libs/chain-impl-mockchain/src/accounting/account/spending.rs index d9e466abec..03d1959c65 100644 --- a/src/chain-libs/chain-impl-mockchain/src/accounting/account/spending.rs +++ b/src/chain-libs/chain-impl-mockchain/src/accounting/account/spending.rs @@ -59,6 +59,8 @@ impl SpendingCounterIncreasing { /// /// If the counter match succesfully, then the counter at this lane is incremented by one. pub fn next_verify(&mut self, _counter: SpendingCounter) -> Result<(), Error> { + // spending counter logic has been removed throughout, returning OK is the least invasive action at the moment. + // Prod chain-libs = https://github.com/input-output-hk/chain-libs/tree/catalyst-fund9-gold Ok(()) }