mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-07-05 20:32:31 +00:00
Merge 443620c139b426b89117a9d1b31d5a2be265a9d8 into 03cc7dfc194cdb2e9f637bceec1bb8070a903c5e
This commit is contained in:
commit
6f4b66f548
2
.github/workflows/deploy.yaml
vendored
2
.github/workflows/deploy.yaml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: 1.21
|
go-version: 1.23
|
||||||
|
|
||||||
- name: Build on Linux
|
- name: Build on Linux
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
@ -123,9 +123,8 @@ func (c *Calculator) CalculateTransactionStorageMass(transaction *externalapi.Do
|
|||||||
if harmonicOuts < arithmeticIns {
|
if harmonicOuts < arithmeticIns {
|
||||||
// underflow
|
// underflow
|
||||||
return 0
|
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)
|
// CalculateTransactionOverallMass calculates the overall mass of the transaction including compute and storage mass components (see KIP-0009)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user