Skip to content

Commit

Permalink
ALL-2062 Doge too large fee error code (#869)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Loiko <oleksandr.loiko@tatum.com>
  • Loading branch information
alexloiko and Alex Loiko committed Jul 27, 2023
1 parent f046fa6 commit 68c7827
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tatumio",
"version": "2.2.20",
"version": "2.2.21",
"license": "MIT",
"repository": "https://github.com/tatumio/tatum-js",
"scripts": {
Expand Down
3 changes: 3 additions & 0 deletions packages/blockchain/doge/src/lib/doge.sdk.errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ export const DOGE_ERRORS_MAPPING = {
'dogecore.ErrorTransactionInvalidOutputAmountSum': SdkErrorCode.BTC_BASED_NOT_ENOUGH_BALANCE,
'dogecore.ErrorTransactionFeeErrorDifferent': SdkErrorCode.BTC_BASED_FEE_TOO_SMALL,
'dogecore.ErrorTransactionDustOutputs': SdkErrorCode.BTC_BASED_DUST_AMOUNT,
'dogecore.ErrorTransactionChangeAddressMissing': SdkErrorCode.BTC_FEE_IS_TOO_LARGE,
'dogecore.ErrorTransactionFeeErrorTooLarge': SdkErrorCode.BTC_FEE_IS_TOO_LARGE,
}

export type DogeSdkErrorCode =
| SdkErrorCode.BTC_BASED_FEE_TOO_SMALL
| SdkErrorCode.BTC_FEE_IS_TOO_LARGE
| SdkErrorCode.BTC_BASED_UTXO_NOT_FOUND
| SdkErrorCode.BTC_BASED_NOT_ENOUGH_BALANCE
| SdkErrorCode.BTC_BASED_DUST_AMOUNT
Expand Down

0 comments on commit 68c7827

Please sign in to comment.