SiaFoundation / core

Core packages for the Sia project
MIT License
51 stars 8 forks source link

Update revision when revising a FileContractElement that's found in the ephemeral cache #141

Closed peterjan closed 7 months ago

peterjan commented 7 months ago

When mining a block with transactions:

I noticed my subscriber receives only 3 file contract elements in the ApplyUpdate, more importantly though one of those did not have a revision. I think there's a bug in reviseFileContractElement that doesn't properly update the rev map when encountering an fce we find in ephemeral, which I assume is a sort of cache.

peterjan commented 7 months ago

expected behaviour after all - closing