mirror of
https://github.com/hanzonet/explore.git
synced 2026-10-30 18:16:57 +00:00
22 lines
394 B
TypeScript
22 lines
394 B
TypeScript
import config from 'configs/app';
|
|
|
|
export default function getNetworkValidatorTitle() {
|
|
switch (config.chain.verificationType) {
|
|
case 'validation': {
|
|
return 'validator';
|
|
}
|
|
case 'mining': {
|
|
return 'miner';
|
|
}
|
|
case 'posting': {
|
|
return 'poster';
|
|
}
|
|
case 'sequencing': {
|
|
return 'sequencer';
|
|
}
|
|
default: {
|
|
return 'miner';
|
|
}
|
|
}
|
|
}
|