iroha icon indicating copy to clipboard operation
iroha copied to clipboard

Potential panic in default executor `visit_register_role`

Open dima74 opened this issue 1 year ago • 0 comments

Looks like return should be added after executor.deny(err)? Otherwise execute! will panic in case if branch with executor.deny(err) is reached

https://github.com/hyperledger-iroha/iroha/blob/a90040ca930a960cddb4697d04962a1038f98219/crates/iroha_executor/src/default.rs#L1305-L1309

dima74 avatar Nov 14 '24 15:11 dima74