mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
12 lines
340 B
Go
12 lines
340 B
Go
|
package v1
|
||
|
|
||
|
import "github.com/prysmaticlabs/prysm/config/params"
|
||
|
|
||
|
func (b *BeaconState) ProportionalSlashingMultiplier() (uint64, error) {
|
||
|
return params.BeaconConfig().ProportionalSlashingMultiplier, nil
|
||
|
}
|
||
|
|
||
|
func (b *BeaconState) InactivityPenaltyQuotient() (uint64, error) {
|
||
|
return params.BeaconConfig().InactivityPenaltyQuotient, nil
|
||
|
}
|