Skip to content

Commit

Permalink
update: drand round +2
Browse files Browse the repository at this point in the history
  • Loading branch information
EasonC13 committed Aug 5, 2023
1 parent 07197ea commit 2867d2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/moveCallCreateCoinRaffle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export let moveCallCreateCoinRaffle = async ({
let drand = await fetch(
`https://drand.cloudflare.com/8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce/public/latest`
).then((response) => response.json());
// let round = drand.round + 2;
let round = drand.round;
let round = drand.round + 2;
// let round = drand.round;
const tx = new TransactionBlock();
let coinInput = undefined;
if (coin_type === '0x2::sui::SUI') {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/moveCallCreateNFTRaffle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export let moveCallCreateNFTRaffle = async ({
let drand = await fetch(
`https://drand.cloudflare.com/8990e7a9aaed2ffed73dbd7092123d6f289930540d7651336225dc172e51b2ce/public/latest`
).then((response) => response.json());
// let round = drand.round + 2;
let round = drand.round;
let round = drand.round + 2;
// let round = drand.round;
const tx = new TransactionBlock();
console.log('NFTs:', NFTs);
const NFTs_input = NFTs.map((nft) =>
Expand Down

0 comments on commit 2867d2c

Please sign in to comment.