mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-22 05:05:48 +00:00
fix: set ledger_index to validated (#1675)
* fix: adds ledger_index: validated
This commit is contained in:
committed by
Mayukha Vadari
parent
02fd0ce323
commit
c3e68cc83f
@@ -83,6 +83,9 @@ export async function testTransaction(
|
||||
transaction: Transaction,
|
||||
wallet: Wallet,
|
||||
): Promise<void> {
|
||||
// Accept any un-validated changes.
|
||||
await ledgerAccept(client)
|
||||
|
||||
// sign/submit the transaction
|
||||
const response = await client.submitTransaction(wallet, transaction)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user