aboutsummaryrefslogtreecommitdiff
path: root/src/walletTypes.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-12-09 13:29:11 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-12-09 13:29:11 +0100
commit1fea75bca3951d39c0a45faf3e903fcec77f9c4f (patch)
tree8d582e26a7e583871e0c9c223976e67b93ef2059 /src/walletTypes.ts
parent396bb61db70f654599256e512bfec4c008ee8269 (diff)
downloadwallet-core-1fea75bca3951d39c0a45faf3e903fcec77f9c4f.tar.xz
throttling / allow non-json requests
Diffstat (limited to 'src/walletTypes.ts')
-rw-r--r--src/walletTypes.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/walletTypes.ts b/src/walletTypes.ts
index e2be26b03..32a5b0192 100644
--- a/src/walletTypes.ts
+++ b/src/walletTypes.ts
@@ -829,7 +829,7 @@ export class Timestamp {
* Timestamp in milliseconds.
*/
@Checkable.Number()
- t_ms: number;
+ readonly t_ms: number;
static checked: (obj: any) => Timestamp;
}
@@ -838,7 +838,7 @@ export interface Duration {
/**
* Duration in milliseconds.
*/
- d_ms: number;
+ readonly d_ms: number;
}
export function getTimestampNow(): Timestamp {