From 56a3bdb68005c922549500305494eff1d6ebbf55 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Tue, 8 Oct 2024 00:13:00 -0700 Subject: [PATCH] Update remaining pending nomenclature. --- src/lib/account.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/account.ts b/src/lib/account.ts index a4e23e6..80c358c 100644 --- a/src/lib/account.ts +++ b/src/lib/account.ts @@ -168,17 +168,17 @@ export class Account { } const data = { "account": this.address, - "pending": "true", + "receivable": "true", "representative": "true", "weight": "true" } - const { balance, frontier, pending, representative, weight } = await node.call('account_info', data) + const { balance, frontier, receivable, representative, weight } = await node.call('account_info', data) if (frontier == null) { throw new Error('Account not found') } this.#b = BigInt(balance) this.#f = frontier - this.#r = BigInt(pending) + this.#r = BigInt(receivable) this.#rep = new Account(representative) this.#w = BigInt(weight) } -- 2.34.1