Skip to content

Commit dd8a23d

Browse files
authored
Merge pull request #2131 from multiversx/deprecate-call-and-exit
deprecate `call_and_exit`
2 parents 65617ae + c4bd1a3 commit dd8a23d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

framework/base/src/types/interaction/tx_exec/tx_exec_async.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,11 @@ where
141141
)
142142
}
143143

144+
/// Backwards compatibility only.
145+
#[deprecated(
146+
since = "0.59.2",
147+
note = "Please use method async_call_and_exit instead."
148+
)]
144149
pub fn call_and_exit(self) -> ! {
145150
self.async_call_and_exit()
146151
}

0 commit comments

Comments
 (0)