Skip to content

Commit

Permalink
Add an error code type for no trx in mempool
Browse files Browse the repository at this point in the history
  • Loading branch information
dangershony committed Apr 22, 2024
1 parent e3efde7 commit 18cfaa7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Blockcore.Indexer.Core/Client/BitcoinClientException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ public bool IsTransactionNotFound()
return true;
}

if (ErrorMessage.Contains("No such mempool transaction"))
{
return true;
}
}

return false;
Expand Down

0 comments on commit 18cfaa7

Please sign in to comment.