MCPcopy Create free account
hub / github.com/CashScript/cashscript / isMempoolConflictError

Function isMempoolConflictError

packages/cashscript/test/test-util.ts:83–86  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

81}
82
83function isMempoolConflictError(error: unknown): boolean {
84 const message = error instanceof Error ? error.message : String(error);
85 return message.includes('txn-mempool-conflict') || message.includes('mempool conflict');
86}
87
88async function sendLiveAddUtxo(
89 provider: NetworkProvider,

Callers 1

addUtxoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected