This repository was archived by the owner on Dec 26, 2022. It is now read-only.
Commit 50c8ec2
committed
fix(pow): Fix error detection in serializing txn
A defined array would never be NULL, so the comparison at
line 84 in pow.c would never be true. Therefore, we should
use the return value of `transaction_serialize_on_flex_trits()`
to detect if error happaned.1 parent be67330 commit 50c8ec2
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
| 83 | + | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
0 commit comments