Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add transaction clearing admin endpoint for testing purposes
This adds one new admin endpoint that allows for the deletion of an entire transaction history, for testing purposes only. Testing -------- 1. On a local setup, I sent a cURL command to the new endpoint. The command succeeded and the transaction history was successfully cleared. I purchased a month via LN checkout and verified that transactions were written again as normal. 2. Ran all automated tests which were passing. 3. Ran type check and ensured there are no regressions on the type check 4. Tested sending request with no admin password and an incorrect admin password and ensured that it was rejected and had no side effects to the account Signed-off-by: Daniel D’Aquino <[email protected]> Signed-off-by: William Casarin <[email protected]>
- Loading branch information