mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-03 18:50:30 +08:00
Don't catch error
We let it fly to display an error message.
This commit is contained in:
@@ -148,8 +148,7 @@ async function commit(commitment: string, fee: BigNumber, minAge: number, config
|
||||
signature.v,
|
||||
signature.r,
|
||||
signature.s,
|
||||
{ gasLimit: 150000 })
|
||||
.catch((e: Error) => console.error(e));
|
||||
{ gasLimit: 150000 });
|
||||
|
||||
await tx.wait(1);
|
||||
session.state.updateBalance(fee.mul(-1));
|
||||
|
||||
Reference in New Issue
Block a user