layer2tech / mercury-node

Lightning node (service) for mercury wallet
12 stars 2 forks source link

protect all routes #56

Open rk16449 opened 1 year ago

rk16449 commented 1 year ago

There should be absolutely no way something calling the express server can crash the server, all routes need checks before calling things they need such as the LDK being initialized in a certain state, or accessing the db.

DhananjayPurohit commented 1 year ago

I think it's done already.