diff --git a/fedimint-nwc/src/nwc.rs b/fedimint-nwc/src/nwc.rs index 490e637..19100d9 100644 --- a/fedimint-nwc/src/nwc.rs +++ b/fedimint-nwc/src/nwc.rs @@ -265,6 +265,9 @@ async fn handle_lookup_invoice( }) } +// TODO: Implement this with multimint + db +// should normally do multimint balance check + db payments manager balance +// for throughput and limit checks async fn handle_get_balance(db: &Database) -> Result { let tracker = db.sum_payments().map_err(|e| NIP47Error { code: ErrorCode::Unauthorized, @@ -281,6 +284,7 @@ async fn handle_get_balance(db: &Database) -> Result { }) } +// TODO: Implement this instead of the boilerplate async fn handle_get_info() -> Result { Ok(Response { result_type: Method::GetInfo,