Closed dB2510 closed 1 year ago
Thank you for reporting this issue. I'd rather not split out the defaults, and so have taken a different approach to this issue in #131 which should also be more robust in terms of deciding when to start which account manager. Please could you take a look at this and let me know if you are happy with that alternative patch?
Hey @mcdee
Thanks!
This PR fixes dirk default timeout bug. It used to set default timeout of 30s for dirk account manager irrespective of the provided account manager. This led to vouch expecting dirk account manager in
startAccountManager
function even if wallet account manager is provided. Refer: https://github.com/attestantio/vouch/blob/2bbfe67138f56b45beb6bdd5219caa833316e4f7/main.go#L233 https://github.com/attestantio/vouch/blob/2bbfe67138f56b45beb6bdd5219caa833316e4f7/main.go#L931