Skip to content

Commit 6ab58d7

Browse files
committed
FIX: Format
1 parent 5068630 commit 6ab58d7

6 files changed

Lines changed: 16 additions & 13 deletions

File tree

launcher/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@
108108
"type": "git",
109109
"url": "git@github.com:stereum-dev/ethereum-node.git"
110110
}
111-
}
111+
}

launcher/src/backend/ValidatorAccountManager.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,12 @@ export class ValidatorAccountManager {
302302
if (picked) return data.slashing_protection;
303303
return data;
304304
} catch (err) {
305-
this.nodeConnection.taskManager.otherTasksHandler(ref, `Deleting Keys Failed`, false, "Deleting Validators Failed:\n" + JSON.stringify(err));
305+
this.nodeConnection.taskManager.otherTasksHandler(
306+
ref,
307+
`Deleting Keys Failed`,
308+
false,
309+
"Deleting Validators Failed:\n" + JSON.stringify(err)
310+
);
306311
this.nodeConnection.taskManager.otherTasksHandler(ref);
307312
log.error("Deleting Validators Failed:\n", JSON.stringify(err));
308313
return err;

launcher/src/components/UI/staking-page/StakingScreen.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,9 @@ const confirmFeeRecepient = async () => {
454454
stakingStore.setActivePanel(null);
455455
};
456456
457-
const deleteFeeRecepient = async (item) => {
457+
const deleteFeeRecepient = async () => {
458458
const key = stakingStore.selectKeyForFee;
459-
if (key){
459+
if (key) {
460460
await ControlService.deleteFeeRecipient({
461461
serviceID: key.validatorID,
462462
pubkey: key.key,

launcher/src/components/UI/staking-page/components/list/panels/FeePanel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<div
1717
v-if="infoMessage !== ''"
1818
role="info"
19-
class="absolute -top-[90px] left-14 w-2/3 max-h-36 rounded border-s-4 p-4 z-60 bg-gray-100 border-gray-400 "
19+
class="absolute -top-[90px] left-14 w-2/3 max-h-36 rounded border-s-4 p-4 z-60 bg-gray-100 border-gray-400"
2020
>
2121
<div class="flex items-center gap-2 text-info-800">
2222
<strong class="block font-medium">Info</strong>
@@ -75,7 +75,7 @@
7575
import { ref, watch, computed } from "vue";
7676
import { useStakingStore } from "@/store/theStaking";
7777
78-
const emit = defineEmits(["confirmFeerecepient","deleteFeerecepient"]);
78+
const emit = defineEmits(["confirmFeerecepient", "deleteFeerecepient"]);
7979
const stakingStore = useStakingStore();
8080
8181
const validName = ref("");

launcher/src/components/UI/staking-page/components/list/rows/KeyRow.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ import { useSetups } from "@/store/setups";
203203
import { useFooter } from "@/store/theFooter";
204204
import { useStakingStore } from "@/store/theStaking";
205205
import { computed } from "vue";
206-
import ControlService from '@/store/ControlService';
207-
206+
import ControlService from "@/store/ControlService";
208207
209208
const props = defineProps({
210209
item: {
@@ -452,10 +451,9 @@ const withdrawHandler = () => {
452451
453452
const FeeRecepient = async () => {
454453
stakingStore.feeRecipientInfoMessage = "Loading fee recipient address...";
455-
ControlService.getFeeRecipient({serviceID: props.item.validatorID, pubkey: props.item.key})
456-
.then((res) => {
457-
stakingStore.feeRecipientInfoMessage = res.data?.ethaddress || "";
458-
})
454+
ControlService.getFeeRecipient({ serviceID: props.item.validatorID, pubkey: props.item.key }).then((res) => {
455+
stakingStore.feeRecipientInfoMessage = res.data?.ethaddress || "";
456+
});
459457
props.item.selected = true;
460458
stakingStore.selectKeyForFee = props.item;
461459
stakingStore.setActivePanel(null);

launcher/src/components/UI/staking-page/sections/ListSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const confirmFeerecepient = (item) => {
115115
};
116116
117117
const deleteFeerecepient = (item) => {
118-
emit("deleteFeerecepient");
118+
emit("deleteFeerecepient", item);
119119
};
120120
121121
const confirmGraffiti = (item) => {

0 commit comments

Comments
 (0)