Revert "Count compute units even when transaction errors (backport #22059) (#22154)" (#22175)

This reverts commit 401c542d2a.
This commit is contained in:
carllin
2021-12-30 02:39:25 -05:00
committed by GitHub
parent 6a556c5adb
commit 7efd0391e9
13 changed files with 93 additions and 305 deletions

View File

@ -2372,7 +2372,6 @@ fn call<'a, 'b: 'a>(
&account_indices,
&caller_write_privileges,
)
.result
.map_err(SyscallError::InstructionError)?;
// Copy results back to caller