mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 12:11:09 +00:00
Fix proof generation and make validate block return the correct result
This commit is contained in:
@@ -69,12 +69,11 @@ macro_rules! register_validate_block_impl {
|
||||
arguments_len,
|
||||
);
|
||||
|
||||
$crate::validate_block::implementation::validate_block::<
|
||||
let res = $crate::validate_block::implementation::validate_block::<
|
||||
$block, $block_executor
|
||||
>(params);
|
||||
|
||||
// We don't return anything for now.
|
||||
0
|
||||
$crate::validate_block::parachain::wasm_api::write_result(res)
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user