Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
cmichi committed Nov 9, 2021
1 parent 89fbcbb commit 2c05061
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions crates/env/src/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ impl CallFlags {
/// This value is used to forward the call flag information to the
/// `contracts` pallet.
pub(crate) const fn into_u32(self) -> u32 {
const FORWARD_INPUT: u32 = 0b0000_0001;
const CLONE_INPUT: u32 = 0b0000_0010;
const TAIL_CALL: u32 = 0b0000_0100;
const ALLOW_REENTRY: u32 = 0b0000_1000;

self.forward_input as u32
| ((self.clone_input as u32) << 1)
| ((self.tail_call as u32) << 2)
Expand Down

0 comments on commit 2c05061

Please sign in to comment.