Skip to content

Commit aa84b57

Browse files
committed
feat: simplify input handling in kuberService by removing redundant selections
1 parent f203141 commit aa84b57

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

tests/govtool-frontend/playwright/lib/services/kuberService.ts

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -173,27 +173,14 @@ const kuberService = {
173173
cborHex: "5820" + wallet.payment.private,
174174
}));
175175

176-
selections.push({
177-
type: "PaymentSigningKeyShelley_ed25519",
178-
description: "Payment Signing Key",
179-
cborHex: "5820" + proposalFaucetWallet.payment.private,
180-
});
181-
182-
const inputs = [
183-
proposalFaucetWallet.address,
184-
...wallets.map((wallet) => wallet.address),
185-
];
186-
console.log({
187-
inputs,
188-
selections,
189-
changeAddress: proposalFaucetWallet.address,
190-
});
176+
const inputs = wallets.map((wallet) => wallet.address);
191177
return kuber.signAndSubmitTx({
192178
inputs,
193179
selections,
194180
changeAddress: proposalFaucetWallet.address,
195181
});
196182
},
183+
197184
transferADA: (receiverAddressList: string[], ADA = 20) => {
198185
const kuber = new Kuber(faucetWallet.address, faucetWallet.payment.private);
199186
const req = {

0 commit comments

Comments
 (0)