Skip to content

Commit

Permalink
don't wait for delegation transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
rattrap committed Jan 27, 2024
1 parent ac26d11 commit e70982d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export class BlockchainService {
value: this.defaultDelegationAmount,
},
);
await tx.wait();
return true;
} catch (e) {
console.error(`Could not create validator ${address}`, e);
Expand Down Expand Up @@ -219,7 +218,6 @@ export class BlockchainService {
gasPrice: this.provider.getGasPrice(),
value: toDelegate,
});
await tx.wait();
} catch (e) {
console.error(
`Can't delegate to own nodes - delegation call failed for node ${ownNode.address}`,
Expand Down

0 comments on commit e70982d

Please sign in to comment.