Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In `transaction_metervalues_insert ()`, we were accessing the first element of a list, then checking whether or not it was empty. This causes an exception since if this list *is* empty, there's no element to access. This commit shifts the code around so that the empty check occurs before accessing any elements of the list. Co-authored-by: Gianfranco Berardi <[email protected]> Signed-off-by: Christopher Davis <[email protected]>
- Loading branch information