mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
updated smartcontract code
updated lite-client and configuration smartcontract updated tonlib code
This commit is contained in:
parent
8e5bd938aa
commit
bce33f588a
46 changed files with 677 additions and 299 deletions
|
@ -695,7 +695,7 @@ td::RefInt256 ComputePhaseConfig::compute_gas_price(td::uint64 gas_used) const {
|
|||
bool Transaction::compute_gas_limits(ComputePhase& cp, const ComputePhaseConfig& cfg) {
|
||||
// Compute gas limits
|
||||
if (account.is_special) {
|
||||
cp.gas_max = cfg.gas_limit; // TODO: introduce special gas limits?
|
||||
cp.gas_max = cfg.special_gas_limit;
|
||||
} else {
|
||||
cp.gas_max = cfg.gas_bought_for(balance.grams);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue