diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-16 12:53:22 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-16 12:53:22 +0100 |
commit | fa4621e70c48500a372504eb8ae9b9481531c555 (patch) | |
tree | 50c457c8c2133dfec32cb465e1b3902ce88fb209 /src/util/amounts.ts | |
parent | 1b9c5855a8afb6833ff7a706f5bed5650e1191ad (diff) | |
download | wallet-core-fa4621e70c48500a372504eb8ae9b9481531c555.tar.xz |
history events WIP
Diffstat (limited to 'src/util/amounts.ts')
-rw-r--r-- | src/util/amounts.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/amounts.ts b/src/util/amounts.ts index 26cee7f8f..c8fb76793 100644 --- a/src/util/amounts.ts +++ b/src/util/amounts.ts @@ -22,7 +22,6 @@ * Imports. */ import { Checkable } from "./checkable"; -import { objectCodec, numberCodec, stringCodec, Codec } from "./codec"; /** * Number of fractional units that one value unit represents. @@ -68,12 +67,6 @@ export class AmountJson { static checked: (obj: any) => AmountJson; } -const amountJsonCodec: Codec<AmountJson> = objectCodec<AmountJson>() - .property("value", numberCodec) - .property("fraction", numberCodec) - .property("currency", stringCodec) - .build("AmountJson"); - /** * Result of a possibly overflowing operation. */ |