fedimint / fedimint

Federated E-Cash Mint
https://fedimint.org/
MIT License
536 stars 209 forks source link

cleanup wallet sync logic #5157

Closed joschisan closed 2 weeks ago

joschisan commented 2 weeks ago

The consensus logic is not actually changed by this pr, as None and Some(0) returned by consensus_block_count do not trigger a sync, so we might as well just replace any None with a 0 to begin with.