From ac1958cdb93c24f4924434d2c74ec9d1e7675607 Mon Sep 17 00:00:00 2001 From: Tsachi Herman <24438559+tsachiherman@users.noreply.github.com> Date: Wed, 25 Oct 2023 09:08:51 -0400 Subject: [PATCH] fix comment (#5090) --- services/horizon/internal/ingest/processors/contract_data.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/horizon/internal/ingest/processors/contract_data.go b/services/horizon/internal/ingest/processors/contract_data.go index dec9199747..bce4ac6b25 100644 --- a/services/horizon/internal/ingest/processors/contract_data.go +++ b/services/horizon/internal/ingest/processors/contract_data.go @@ -413,7 +413,7 @@ func metadataObjFromAsset(isNative bool, code, issuer string) (*xdr.ScMap, error // ledger entry containing the asset info entry written to contract storage by the // Stellar Asset Contract. // -// Warning: Only for use in tests. This does not set a realistic expirationLedgerSeq +// Warning: Only for use in tests. This does not create the accompanied TTLEntry which would typically be created by core. func AssetToContractData(isNative bool, code, issuer string, contractID [32]byte) (xdr.LedgerEntryData, error) { storageMap, err := metadataObjFromAsset(isNative, code, issuer) if err != nil { @@ -450,7 +450,7 @@ func AssetToContractData(isNative bool, code, issuer string, contractID [32]byte // creates a ledger entry containing the asset balance of a contract holder // written to contract storage by the Stellar Asset Contract. // -// Warning: Only for use in tests. This does not set a realistic expirationLedgerSeq +// Warning: Only for use in tests. This does not create the accompanied TTLEntry which would typically be created by core. func BalanceToContractData(assetContractId, holderID [32]byte, amt uint64) xdr.LedgerEntryData { return balanceToContractData(assetContractId, holderID, xdr.Int128Parts{ Lo: xdr.Uint64(amt),