Commit 43620a4
committed
refactor(blockchain): use Store::head_state in update_safe_target
The accessor already exists and does exactly this get_state(&head()) chain, so
the open-coded version was carrying a redundant unwrap for no reason.1 parent f022277 commit 43620a4
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 151 | + | |
155 | 152 | | |
156 | 153 | | |
157 | 154 | | |
| |||
0 commit comments