Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Declare transaction fails when the declarations file contains an empty line #339

Open
ericnordelo opened this issue Jan 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ericnordelo
Copy link
Member

If the file exists and contains an empty line, an exception will be raised from checking if alias exists in this line:

if alias_exists(alias, network):

The issue occurs from trying to call normalize_number on an empty hash.

@ericnordelo ericnordelo added the bug Something isn't working label Jan 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
No open projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant