MarcoFalke fa3942fc4c
Remove GetSpendHeight
It is unclear what the goal of the helper is, as the caller already
knows the spend height before calling the helper.

Also, in case the coins view is corrupted, LookupBlockIndex will return
nullptr. Dereferencing a nullptr is UB.

Fix both issues by removing it. Also, add a sanity check, which aborts
if the coins view is corrupted.
2021-12-02 15:59:53 +01:00
..
2021-09-10 11:18:58 +08:00
2021-09-29 14:10:29 +02:00
2021-12-01 09:32:03 +01:00
2021-11-12 11:46:34 +01:00
2021-11-09 17:09:50 +00:00
2021-07-30 11:21:51 +02:00
2021-11-26 11:17:43 +01:00
2021-11-15 12:08:49 -05:00
2021-11-16 09:56:45 +01:00
2021-11-30 17:19:49 +01:00
2021-10-12 12:03:14 +13:00
2021-10-12 12:03:14 +13:00
2021-10-11 21:45:49 +10:00
2021-12-01 19:07:49 +13:00
2021-10-05 11:11:18 +02:00
2021-09-28 19:13:42 -04:00
2021-09-29 18:46:30 +02:00
2021-11-18 18:13:21 +01:00
2021-08-20 16:59:41 +02:00
2021-12-02 15:59:53 +01:00
2021-12-02 15:59:53 +01:00