consume_gas

Function consume_gas 

Source
pub fn consume_gas(amount: u64)
Expand description

Subtracts the given amount from the VM’s gas counter. This is usually injected by the metering contract at deployment time, and hence is unneeded in most cases.