mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
@@ -7,7 +7,7 @@ import { Transaction } from '../models/transactions'
|
|||||||
import { hashes } from '../utils'
|
import { hashes } from '../utils'
|
||||||
|
|
||||||
/** Approximate time for a ledger to close, in milliseconds */
|
/** Approximate time for a ledger to close, in milliseconds */
|
||||||
const LEDGER_CLOSE_TIME = 4000
|
const LEDGER_CLOSE_TIME = 1000
|
||||||
|
|
||||||
async function sleep(ms: number): Promise<void> {
|
async function sleep(ms: number): Promise<void> {
|
||||||
return new Promise((resolve) => {
|
return new Promise((resolve) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user