fix: avoid double spend in sendAndConfirmTransaction
This commit is contained in:
committed by
Justin Starry
parent
d77818c18b
commit
f31f66a7c3
@@ -6,9 +6,20 @@
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
export const NUM_TICKS_PER_SECOND = 10;
|
||||
export const NUM_TICKS_PER_SECOND = 160;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
export const DEFAULT_TICKS_PER_SLOT = 8;
|
||||
export const DEFAULT_TICKS_PER_SLOT = 64;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
export const NUM_SLOTS_PER_SECOND =
|
||||
NUM_TICKS_PER_SECOND / DEFAULT_TICKS_PER_SLOT;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
export const MS_PER_SLOT = 1000 / NUM_SLOTS_PER_SECOND;
|
||||
|
Reference in New Issue
Block a user