Skip to content

Commit

Permalink
use last address in refund
Browse files Browse the repository at this point in the history
  • Loading branch information
roeierez committed Jun 29, 2021
1 parent bb2d658 commit c6d898b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/routes/get_refund/get_refund_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ class GetRefundPage extends StatelessWidget {
onRefund(BuildContext context, AccountModel account, RefundableAddress item) {
String originalTransaction;
if (item.confirmedTransactionIds.length > 0) {
originalTransaction = item.confirmedTransactionIds[0];
originalTransaction =
item.confirmedTransactionIds[item.confirmedTransactionIds.length - 1];
}
Navigator.push(
context,
Expand Down

0 comments on commit c6d898b

Please sign in to comment.