Skip to content

Commit e58c58b

Browse files
committed
Rm toNumber
1 parent dc5c83f commit e58c58b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/bulk-create-proposal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export async function run(args: any = process.argv) {
147147
.updateStateV0({
148148
newState: {
149149
voting: {
150-
startTs: new BN(Date.now() / 1000).toNumber()
150+
startTs: new BN(Date.now() / 1000)
151151
}
152152
},
153153
})

scripts/create-proposal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export async function run(args: any = process.argv) {
131131
.updateStateV0({
132132
newState: {
133133
voting: {
134-
startTs: new anchor.BN(Date.now() / 1000).toNumber()
134+
startTs: new anchor.BN(Date.now() / 1000)
135135
}
136136
},
137137
})

0 commit comments

Comments
 (0)