diff options
Diffstat (limited to 'packages/taler-util/src/ReserveStatus.ts')
-rw-r--r-- | packages/taler-util/src/ReserveStatus.ts | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/packages/taler-util/src/ReserveStatus.ts b/packages/taler-util/src/ReserveStatus.ts index be9fa9e8e..a6d0dc108 100644 --- a/packages/taler-util/src/ReserveStatus.ts +++ b/packages/taler-util/src/ReserveStatus.ts @@ -21,17 +21,12 @@ /** * Imports. */ +import { codecForAmountString } from "./amounts.js"; import { - codecForString, - buildCodecForObject, - codecForList, Codec, + buildCodecForObject } from "./codec.js"; import { AmountString } from "./taler-types.js"; -import { - ReserveTransaction, - codecForReserveTransaction, -} from "./ReserveTransaction.js"; /** * Status of a reserve. @@ -47,5 +42,5 @@ export interface ReserveStatus { export const codecForReserveStatus = (): Codec<ReserveStatus> => buildCodecForObject<ReserveStatus>() - .property("balance", codecForString()) + .property("balance", codecForAmountString()) .build("ReserveStatus"); |