mirror of
				https://github.com/ton-blockchain/ton
				synced 2025-03-09 15:40:10 +00:00 
			
		
		
		
	Fix block_lt in account state by transaction (#624)
* fix getAccountStateByTransaction * set correct block_lt --------- Co-authored-by: ms <dungeon666master@protonmail.com>
This commit is contained in:
		
							parent
							
								
									f118afab84
								
							
						
					
					
						commit
						d3b622a527
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -83,6 +83,7 @@ td::Result<TransactionEmulator::EmulationSuccess> TransactionEmulator::emulate_t | |||
|     ton::LogicalTime lt = record_trans.lt; | ||||
|     ton::UnixTime utime = record_trans.now; | ||||
|     account.now_ = utime; | ||||
|     account.block_lt = record_trans.lt - record_trans.lt % block::ConfigInfo::get_lt_align(); | ||||
|     td::Ref<vm::Cell> msg_root = record_trans.r1.in_msg->prefetch_ref(); | ||||
|     int tag = block::gen::t_TransactionDescr.get_tag(vm::load_cell_slice(record_trans.description)); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue