Skip to content

Commit

Permalink
try building dict differently
Browse files Browse the repository at this point in the history
  • Loading branch information
BIP Bot committed Jul 28, 2023
1 parent 4870bbe commit 16edf5f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bal_addresses/addresses.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,9 @@ def flatten_dict(self, d, parent_key='', sep='/'):

def generate_flatbook(self):
print(f"Generating Addressbook for {self.chain}")
flatbook = {**self.extras, **self.deployments_only, "multisigs": self.multisigs, "EOAs": self.EOAs}
flatbook = {**self.extras, **self.deployments_only}
flatbook["multisigs"] = self.multisigs
flatbook["EOAs"] = self.EOAs
return self.flatten_dict(flatbook)


Expand Down

0 comments on commit 16edf5f

Please sign in to comment.