Skip to content

Commit

Permalink
fix(chain): reduce /2 number of blocks to wait before throwing timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Mar 30, 2023
1 parent 20607c9 commit 44de66b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export async function getHeight({ onNode }: { onNode: Node }): Promise<number> {
export async function poll(
th: Encoded.TxHash,
{
blocks = 10, interval, onNode, ...options
blocks = 5, interval, onNode, ...options
}:
{ blocks?: number; interval?: number; onNode: Node } & Parameters<typeof _getPollInterval>[1],
): Promise<TransformNodeType<SignedTx>> {
Expand Down

0 comments on commit 44de66b

Please sign in to comment.