Skip to content

Commit ca44385

Browse files
Update client.dart
Co-authored-by: AhmedHanafy725 <41957921+AhmedHanafy725@users.noreply.github.com>
1 parent 927f1e7 commit ca44385

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/stellar_client/lib/src/client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ class Client {
367367
List<BalanceInfo> balance = [];
368368
try {
369369
// check that receiver account exists
370-
balance = await getBalanceByAccountID(
370+
receiverBalance = await getBalanceByAccountID(
371371
network: _network, accountId: destinationAddress);
372372
} catch (e) {
373373
throw Exception('Receiver account does not exist.');

0 commit comments

Comments
 (0)