Skip to content

Commit 6c51d3f

Browse files
committed
Fix default call success status to be true.
1 parent f015d01 commit 6c51d3f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

submerge-crystal/src/worker/processor/extrinsic.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,10 +590,11 @@ impl BlockProcessor {
590590
call.pallet_call_name,
591591
call.pallet_call_index
592592
))?;
593+
// TODO call success status identification for nested calls
593594
let is_successful = if call_index == [0] {
594595
extrinsic_is_successful
595596
} else {
596-
false
597+
true
597598
};
598599
let call_hash = self
599600
.postgres

0 commit comments

Comments
 (0)