mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
There's no reason for the db to ever return non-NULL if it's spent. And there's only one caller, for which that is definitely true. Suggested-by: @cdecker Fixes: #1934 Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>