feat: shorten ledger close time (#2115)

Shorten ledger close time
This commit is contained in:
Connor Chen
2022-10-13 16:53:41 -04:00
committed by GitHub
parent 3bc87c00ec
commit b40a519a0d

View File

@@ -7,7 +7,7 @@ import { Transaction } from '../models/transactions'
import { hashes } from '../utils'
/** 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> {
return new Promise((resolve) => {