mirror of
https://github.com/alexgo-io/xverse-stacks-transaction-sponsor.git
synced 2026-01-12 08:43:39 +08:00
fix: add a warn description when failed to broadcast transaction
Co-authored-by: Victor Kirov <victor.kirov@gmail.com>
This commit is contained in:
@@ -100,7 +100,7 @@ export class Controller {
|
||||
tx,
|
||||
nonce,
|
||||
result,
|
||||
});
|
||||
}, 'failed to broadcast transaction');
|
||||
throw new Error(`Broadcast failed: ${result.error} ${result.reason}`);
|
||||
} else {
|
||||
incrementAccountNonce(account);
|
||||
|
||||
Reference in New Issue
Block a user