Merge 443620c139b426b89117a9d1b31d5a2be265a9d8 into 03cc7dfc194cdb2e9f637bceec1bb8070a903c5e

This commit is contained in:
π 2025-03-18 13:55:15 +00:00 committed by GitHub
commit 6f4b66f548
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -22,7 +22,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version: 1.23
- name: Build on Linux
if: runner.os == 'Linux'

View File

@ -123,9 +123,8 @@ func (c *Calculator) CalculateTransactionStorageMass(transaction *externalapi.Do
if harmonicOuts < arithmeticIns {
// underflow
return 0
} else {
return harmonicOuts - arithmeticIns
}
return harmonicOuts - arithmeticIns
}
// CalculateTransactionOverallMass calculates the overall mass of the transaction including compute and storage mass components (see KIP-0009)