We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f276bd5 commit 43d8d2eCopy full SHA for 43d8d2e
pkg/core/blockchain.go
@@ -2167,6 +2167,9 @@ func (bc *Blockchain) GetNotaryBalance(acc util.Uint160) *big.Int {
2167
// GetNotaryServiceFeePerKey returns a NotaryAssisted transaction attribute fee
2168
// per key which is a reward per notary request key for designated notary nodes.
2169
func (bc *Blockchain) GetNotaryServiceFeePerKey() int64 {
2170
+ if !bc.isHardforkEnabled(&transaction.NotaryAssistedActivation, bc.BlockHeight()) {
2171
+ return 0
2172
+ }
2173
return bc.contracts.Policy.GetAttributeFeeInternal(bc.dao, transaction.NotaryAssistedT)
2174
}
2175
0 commit comments