Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not set firstEvent to empty string #245

Merged
merged 2 commits into from Apr 3, 2023

Conversation

nguyer
Copy link
Contributor

@nguyer nguyer commented Mar 17, 2023

The yaml serializer was missing the omitempty tag so even though the Go code wasn't setting a value, the firstEvent field was getting written to the config as an empty string "". Setting it to an empty string causes FireFly to not apply its default setting, which can result in the blockchain connector subscribing from the newest event, rather than the oldest.

Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
Signed-off-by: Nicko Guyer <nicko.guyer@kaleido.io>
@peterbroadhurst peterbroadhurst merged commit 1e646d4 into hyperledger:main Apr 3, 2023
12 checks passed
@peterbroadhurst peterbroadhurst deleted the fix-firstevent branch April 3, 2023 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants