blockfrost / blockfrost-go

Golang SDK for Blockfrost.io
Apache License 2.0
23 stars 9 forks source link

Fix *All method which return a channel #54

Closed Quantumplation closed 2 years ago

Quantumplation commented 2 years ago

Each of these methods was panic'ing because of an attempt to send on a channel that was already closed.

This fixes that, and a few subsequent issues that arose. In particular:

This also updates several out of date golden test data

jsambuo commented 2 years ago

I can confirm this fix looks good and works for AccountAssociatedAssetsAll. I'd love to see this get merged!

HannesKimara commented 2 years ago

This has now been merged. Thanks