Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
92187a6
try commit
rg911 Dec 9, 2019
8e48b92
restore changes
rg911 Dec 9, 2019
6ae6173
try remove nyc excludes
rg911 Dec 9, 2019
34ba4e1
restore
rg911 Dec 9, 2019
2f763ba
try break a unit test
rg911 Dec 9, 2019
2f3a782
restore
rg911 Dec 9, 2019
0e121e6
try commit
rg911 Dec 9, 2019
940d8da
restore changes
rg911 Dec 9, 2019
0b7402c
try remove nyc excludes
rg911 Dec 9, 2019
40a04ea
restore
rg911 Dec 9, 2019
f9a5a4b
try break a unit test
rg911 Dec 9, 2019
a79934d
restore
rg911 Dec 9, 2019
0103fe8
try commit
rg911 Dec 9, 2019
8a89b67
restore changes
rg911 Dec 9, 2019
7be8794
try remove nyc excludes
rg911 Dec 9, 2019
11e0cdb
restore
rg911 Dec 9, 2019
64da3f2
try break a unit test
rg911 Dec 9, 2019
f2b5866
restore
rg911 Dec 9, 2019
15d9bcc
try commit
rg911 Dec 9, 2019
712802a
restore changes
rg911 Dec 9, 2019
e8c9053
try remove nyc excludes
rg911 Dec 9, 2019
739dfd6
restore
rg911 Dec 9, 2019
8761f55
try break a unit test
rg911 Dec 9, 2019
c0065f2
restore
rg911 Dec 9, 2019
b29e42e
try commit
rg911 Dec 9, 2019
441f885
restore changes
rg911 Dec 9, 2019
589ffd8
try remove nyc excludes
rg911 Dec 9, 2019
b1e3a39
restore
rg911 Dec 9, 2019
0b02689
try break a unit test
rg911 Dec 9, 2019
021e3a6
restore
rg911 Dec 9, 2019
0884dca
try commit
rg911 Dec 9, 2019
f1b702a
restore changes
rg911 Dec 9, 2019
b019968
try remove nyc excludes
rg911 Dec 9, 2019
ec2bc6c
restore
rg911 Dec 9, 2019
c64b22c
try break a unit test
rg911 Dec 9, 2019
eb75a5b
restore
rg911 Dec 9, 2019
afd7222
try commit
rg911 Dec 9, 2019
4a1b1c2
restore changes
rg911 Dec 9, 2019
627cd3d
try remove nyc excludes
rg911 Dec 9, 2019
f65452d
restore
rg911 Dec 9, 2019
539c66e
try break a unit test
rg911 Dec 9, 2019
a5866fe
restore
rg911 Dec 9, 2019
ae6fa61
try commit
rg911 Dec 9, 2019
80c21a8
restore changes
rg911 Dec 9, 2019
ee9f2cd
try remove nyc excludes
rg911 Dec 9, 2019
b5d97e2
restore
rg911 Dec 9, 2019
b8bfee8
try break a unit test
rg911 Dec 9, 2019
d4c52fc
restore
rg911 Dec 9, 2019
ffb882e
try commit
rg911 Dec 9, 2019
459b469
restore changes
rg911 Dec 9, 2019
4717f5d
try remove nyc excludes
rg911 Dec 9, 2019
d5b0167
restore
rg911 Dec 9, 2019
a795d81
try break a unit test
rg911 Dec 9, 2019
947110a
restore
rg911 Dec 9, 2019
5489631
try commit
rg911 Dec 9, 2019
fda504b
restore changes
rg911 Dec 9, 2019
9471201
try remove nyc excludes
rg911 Dec 9, 2019
6272093
restore
rg911 Dec 9, 2019
f0e1c1a
try break a unit test
rg911 Dec 9, 2019
da22bae
restore
rg911 Dec 9, 2019
f0d8b9d
try commit
rg911 Dec 9, 2019
6ec1446
restore changes
rg911 Dec 9, 2019
b274ad0
try remove nyc excludes
rg911 Dec 9, 2019
416e100
restore
rg911 Dec 9, 2019
9952c7e
try break a unit test
rg911 Dec 9, 2019
2575d37
restore
rg911 Dec 9, 2019
9bcf66d
try commit
rg911 Dec 9, 2019
2f14a45
restore changes
rg911 Dec 9, 2019
8e20476
try remove nyc excludes
rg911 Dec 9, 2019
21ab8ae
restore
rg911 Dec 9, 2019
a2b5b8a
try break a unit test
rg911 Dec 9, 2019
f45c5d2
restore
rg911 Dec 9, 2019
58f93b0
try commit
rg911 Dec 9, 2019
ab549a6
restore changes
rg911 Dec 9, 2019
d2c993f
try remove nyc excludes
rg911 Dec 9, 2019
0c4f639
restore
rg911 Dec 9, 2019
11b05a1
try break a unit test
rg911 Dec 9, 2019
7dcfca6
restore
rg911 Dec 9, 2019
2101cf2
try commit
rg911 Dec 9, 2019
37f6028
restore changes
rg911 Dec 9, 2019
79e2338
try remove nyc excludes
rg911 Dec 9, 2019
6d4c2e7
restore
rg911 Dec 9, 2019
40934f8
try break a unit test
rg911 Dec 9, 2019
bb4f8de
restore
rg911 Dec 9, 2019
1796e8a
try commit
rg911 Dec 9, 2019
72096b1
restore changes
rg911 Dec 9, 2019
30c9ba4
try remove nyc excludes
rg911 Dec 9, 2019
d3dc28b
restore
rg911 Dec 9, 2019
12d7ad9
try break a unit test
rg911 Dec 9, 2019
aa30e4b
restore
rg911 Dec 9, 2019
0f14d9a
try commit
rg911 Dec 9, 2019
010ca2d
restore changes
rg911 Dec 9, 2019
f9de4f3
try remove nyc excludes
rg911 Dec 9, 2019
d5b81ce
restore
rg911 Dec 9, 2019
93d8380
try break a unit test
rg911 Dec 9, 2019
bb6e2f3
restore
rg911 Dec 9, 2019
183e1a7
Fixed #383 deadline
rg911 Dec 12, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/model/transaction/Deadline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class Deadline {
/**
* @type {number}
*/
public static timestampNemesisBlock = 1573426800;
public static timestampNemesisBlock = 1573430400;

/**
* Deadline value
Expand Down
8 changes: 8 additions & 0 deletions test/model/transaction/Deadline.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,12 @@ describe('Deadline', () => {
expect(deadline.toDTO()[1]).to.be.equal(11);
});

it('make sure epochAdjustment is correct', () => {
const epochAdjustment = new Date(Deadline.timestampNemesisBlock * 1000);
expect(epochAdjustment.getFullYear()).to.be.equal(2019);
expect(epochAdjustment.getMonth() + 1).to.be.equal(11);
expect(epochAdjustment.getDate()).to.be.equal(11);
expect(epochAdjustment.getHours()).to.be.equal(0);
expect(epochAdjustment.getMinutes()).to.be.equal(0);
});
});