forked from aptos-labs/aptos-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[diem-trace] restore previous behavior of set_diem_trace
The previous behavior of this function was to error out on being called more than once. Restore that behavior while not introducing unsafe code. There's a separate function `diem_trace_set` whose behavior didn't change -- it would return true if in INITIALIZED status, which is what the current function does as well. Closes: aptos-labs#7667
- Loading branch information
1 parent
2c291a7
commit 059ff2c
Showing
1 changed file
with
19 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters