OutlierVentures / ANVIL

Agent Negotiation Verifiable Interaction Layer – an app in the Convergence Stack.
https://anvil.outlierventures.io
Apache License 2.0
18 stars 6 forks source link

ErrorCode.PoolLedgerConfigAlreadyExistsError: 306 #2

Closed theoturner closed 5 years ago

theoturner commented 5 years ago

On pool setup, actors on same machine all try to create the same pool ledger config as part of their own data structure setup.

_indy_loop_callback: Function returned error (<ErrorCode.PoolLedgerConfigAlreadyExistsError: 306>, 'Error: Pool ledger config already exists\n  Caused by: Pool ledger config file with name "ANVIL" already exists\n')

Fix: check pool exists, and only instantiate a new pool ledger config if it doesn't.

theoturner commented 5 years ago

Fixed in #49841b5

AronVanAmmers commented 5 years ago

That would be 49841b5 :) (no # for commit hashes, GitHub detects them in line)