Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Return active producers when producers table doesn't exist #6665

Merged
merged 1 commit into from
Jan 29, 2019

Conversation

conr2d
Copy link
Contributor

@conr2d conr2d commented Jan 25, 2019

Change Description

Before deploying eosio.system contract to system account, it fails to call /v1/chain/get_producers API, because it only tries grabbing producer information from table. If it fails to find table from system account, will return the list of active producers.

Consensus Changes

None.

API Changes

None.

Documentation Additions

None.

@jgiszczak jgiszczak merged commit 0816381 into EOSIO:develop Jan 29, 2019
@conr2d conr2d deleted the get_producers branch June 30, 2021 01:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants