mirror of
				https://github.com/Xahau/xahaud.git
				synced 2025-11-04 02:35:48 +00:00 
			
		
		
		
	fix: ledger_index (#498)
This commit is contained in:
		@@ -44,8 +44,7 @@ convertBlobsToTxResult(
 | 
			
		||||
 | 
			
		||||
    auto tr = std::make_shared<Transaction>(txn, reason, app);
 | 
			
		||||
 | 
			
		||||
    auto metaset =
 | 
			
		||||
        std::make_shared<TxMeta>(tr->getID(), tr->getLedger(), rawMeta);
 | 
			
		||||
    auto metaset = std::make_shared<TxMeta>(tr->getID(), ledger_index, rawMeta);
 | 
			
		||||
 | 
			
		||||
    // if properly formed meta is available we can use it to generate ctid
 | 
			
		||||
    if (metaset->getAsObject().isFieldPresent(sfTransactionIndex))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user