瀏覽代碼

core/vm: fix typo in comment (#22785)

aaronbuchwald 4 年之前
父節點
當前提交
8130dd5cef
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/vm/operations_acl.go

+ 1 - 1
core/vm/operations_acl.go

@@ -30,7 +30,7 @@ const (
 	WarmStorageReadCostEIP2929   = uint64(100)  // WARM_STORAGE_READ_COST
 	WarmStorageReadCostEIP2929   = uint64(100)  // WARM_STORAGE_READ_COST
 )
 )
 
 
-// gasSStoreEIP2929 implements gas cost for SSTORE according to EIP-2929"
+// gasSStoreEIP2929 implements gas cost for SSTORE according to EIP-2929
 //
 //
 // When calling SSTORE, check if the (address, storage_key) pair is in accessed_storage_keys.
 // When calling SSTORE, check if the (address, storage_key) pair is in accessed_storage_keys.
 // If it is not, charge an additional COLD_SLOAD_COST gas, and add the pair to accessed_storage_keys.
 // If it is not, charge an additional COLD_SLOAD_COST gas, and add the pair to accessed_storage_keys.