Closed thrilok209 closed 4 years ago
Dispute function has 3 minor bugs.
1) Length is not assigned for bytes[] memory txs for compressing the given txs. 2) Checking tx root with submitted tx root from given txs is reverting even if it's true. 3) SlashAndRollback() is reverting always.
bytes[] memory txs
Good find!
Dispute function has 3 minor bugs.
1) Length is not assigned for
bytes[] memory txs
for compressing the given txs. 2) Checking tx root with submitted tx root from given txs is reverting even if it's true. 3) SlashAndRollback() is reverting always.