libeufin tests

Adapting test after API breaking change.
This commit is contained in:
MS 2023-04-24 17:06:09 +02:00
parent d61471544c
commit ab49083257
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -899,7 +899,7 @@ export function findNexusPayment(
): LibeufinNexusMoneyMovement | void {
let transactions = payments["transactions"];
for (let i = 0; i < transactions.length; i++) {
let batches = transactions[i]["batches"];
let batches = transactions[i]["camtData"]["batches"];
for (let y = 0; y < batches.length; y++) {
let movements = batches[y]["batchTransactions"];
for (let z = 0; z < movements.length; z++) {