Skip to content

Commit

Permalink
refactor: remove deprecated error in rgbpp lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ShookLyngs committed Aug 11, 2024
1 parent 699be77 commit b1865c2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/rgbpp/src/rgbpp/error.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
export enum RgbppErrorCodes {
UNKNOWN,

CANNOT_DECODE_UTXO_ID = 20,
UNEXPECTED_CKB_VTX_OUTPUTS_LENGTH,
UNEXPECTED_CKB_VTX_OUTPUTS_LENGTH = 20,
}

export const RgbppErrorMessages = {
[RgbppErrorCodes.UNKNOWN]: 'Unknown error',

[RgbppErrorCodes.CANNOT_DECODE_UTXO_ID]: 'Cannot decode UtxoId',
[RgbppErrorCodes.UNEXPECTED_CKB_VTX_OUTPUTS_LENGTH]: 'Unexpected length of the CkbVirtualTx outputs',
};

Expand Down

0 comments on commit b1865c2

Please sign in to comment.