Skip to content

Commit 38ae1a6

Browse files
committed
Revert getTransaction
1 parent fcca1b5 commit 38ae1a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Neo/SmartContract/Native/LedgerContract.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ public Transaction GetTransaction(DataCache snapshot, UInt256 hash)
310310
return GetTransactionState(snapshot, hash)?.Transaction;
311311
}
312312

313-
[ContractMethod(CpuFee = 1 << 15, RequiredCallFlags = CallFlags.ReadStates, Name = nameof(GetTransaction))]
313+
[ContractMethod(CpuFee = 1 << 15, RequiredCallFlags = CallFlags.ReadStates, Name = "getTransaction")]
314314
private Transaction GetTransactionForContract(ApplicationEngine engine, UInt256 hash)
315315
{
316316
TransactionState state = GetTransactionState(engine.SnapshotCache, hash);

0 commit comments

Comments
 (0)