aboutsummaryrefslogtreecommitdiff
path: root/src/cryptoWorker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptoWorker.ts')
-rw-r--r--src/cryptoWorker.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptoWorker.ts b/src/cryptoWorker.ts
index 4275d659b..55c08d4b5 100644
--- a/src/cryptoWorker.ts
+++ b/src/cryptoWorker.ts
@@ -113,8 +113,8 @@ namespace RpcFunctions {
export function isValidWireFee(type: string, wf: WireFee, masterPub: string): boolean {
let p = new native.MasterWireFeePS({
h_wire_method: native.ByteArray.fromStringWithNull(type).hash(),
- start_date: native.AbsoluteTimeNbo.fromStamp(wf.startStamp),
- end_date: native.AbsoluteTimeNbo.fromStamp(wf.endStamp),
+ start_date: native.AbsoluteTimeNbo.fromStampSeconds(wf.startStamp),
+ end_date: native.AbsoluteTimeNbo.fromStampSeconds(wf.endStamp),
wire_fee: (new native.Amount(wf.wireFee)).toNbo(),
closing_fee: (new native.Amount(wf.closingFee)).toNbo(),
});