Commit 64acefe
Replace a call to
* Replace a call to `error` in our FFI with a safe alternative
There was no need to be unsafe here. Our code just happened to not
match on that proof, but this could have broken at any time when doing
refactoring. In the Consensus spec, this actually caused a crash.
* Update src/Ledger/Conway/Foreign/HSLedger/ExternalStructures.agda
Co-authored-by: Joosep Jääger <joosep.jaager@gmail.com>
---------
Co-authored-by: Joosep Jääger <joosep.jaager@gmail.com>error in our FFI with a safe alternative (#650)1 parent 2566862 commit 64acefe
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments