mirror of
https://github.com/Xahau/Validation-Ledger-Tx-Store-to-xPOP.git
synced 2025-11-19 19:25:52 +00:00
Store xPOPs
This commit is contained in:
@@ -51,13 +51,11 @@ const onTransaction = async ({
|
||||
* generate an xPOP.
|
||||
*/
|
||||
setTimeout(async () => {
|
||||
console.log(
|
||||
await xpop({
|
||||
ledgerIndex: transaction.ledger_index,
|
||||
networkId,
|
||||
txHash: tx.hash,
|
||||
})
|
||||
)
|
||||
await xpop({
|
||||
ledgerIndex: transaction.ledger_index,
|
||||
networkId,
|
||||
txHash: tx.hash,
|
||||
})
|
||||
}, 500)
|
||||
// ^^ To check: is this enough? If e.g. retrieving the ledger info
|
||||
// would take longer this may not be enough. Best solution:
|
||||
|
||||
Reference in New Issue
Block a user