Skip to content

Commit 1144c34

Browse files
committed
fix: set acceptDelayedBroadcast false in credentials module
Apply the same acceptDelayedBroadcast: false fix to the 2 remaining createAction calls in credentials.ts (revocation UTXO creation and revocation spend). Without this, revocation transactions were queued as unsent instead of broadcasting immediately.
1 parent 7efae3e commit 1144c34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/credentials.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ export class CredentialIssuer {
231231
basket: 'revocation-utxos',
232232
tags: ['revocation']
233233
}],
234-
options: { randomizeOutputs: false }
234+
options: { randomizeOutputs: false, acceptDelayedBroadcast: false }
235235
})
236236

237237
if (result.txid == null || result.txid === '') {
@@ -355,7 +355,7 @@ export class CredentialIssuer {
355355
inputDescription: 'Spend revocation UTXO'
356356
}],
357357
outputs: [],
358-
options: { randomizeOutputs: false }
358+
options: { randomizeOutputs: false, acceptDelayedBroadcast: false }
359359
})
360360

361361
if (result.txid == null || result.txid === '') {

0 commit comments

Comments
 (0)