From badf382903f7d0afe865f3a4910d327650217f1c Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Fri, 25 Nov 2011 21:51:30 -0800 Subject: [PATCH] Note that 'insufficient funds' can occur when removing a transaction too, if the funds have already been spent by another transaction. When removing a transaction, any 'subsequent' dependent transactions must be removed first. --- Ledger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ledger.h b/Ledger.h index 66d99e8294..fa767cb5a2 100644 --- a/Ledger.h +++ b/Ledger.h @@ -29,7 +29,7 @@ public: TR_ALREADY =2, TR_BADTRANS =3, // the transaction itself is corrupt TR_BADACCT =4, // one of the accounts is invalid - TR_INSUFF =5, // the sending account is broke + TR_INSUFF =5, // the sending(apply)/receiving(remove) account is broke TR_PASTASEQ =6, // account is past this transaction TR_PREASEQ =7, // account is missing transactions before this TR_BADLSEQ =8, // ledger too early