File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ async fn get_escrow_accounts_v2(
159159 // 4. Service provider (indexer) receives payments from payer's escrow
160160
161161 let senders_balances: HashMap < Address , U256 > = response
162- . escrow_accounts
162+ . payments_escrow_accounts
163163 . iter ( )
164164 . map ( |account| {
165165 let balance = U256 :: checked_sub (
@@ -180,7 +180,7 @@ async fn get_escrow_accounts_v2(
180180 . collect :: < Result < HashMap < _ , _ > , anyhow:: Error > > ( ) ?;
181181
182182 let senders_to_signers = response
183- . escrow_accounts
183+ . payments_escrow_accounts
184184 . into_iter ( )
185185 . map ( |account| {
186186 let payer = Address :: from_str ( & account. payer . id ) ?;
Original file line number Diff line number Diff line change @@ -6661,8 +6661,8 @@ input PaymentsEscrowAccount_filter {
66616661 thawEndTimestamp_in : [BigInt ! ]
66626662 thawEndTimestamp_not_in : [BigInt ! ]
66636663 _change_block : BlockChangedFilter
6664- and : [EscrowAccount_filter ]
6665- or : [EscrowAccount_filter ]
6664+ and : [PaymentsEscrowAccount_filter ]
6665+ or : [PaymentsEscrowAccount_filter ]
66666666}
66676667
66686668enum PaymentsEscrowAccount_orderBy {
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ pub const ESCROW_QUERY_RESPONSE: &str = r#"
116116pub const ESCROW_QUERY_RESPONSE_V2 : & str = r#"
117117 {
118118 "data": {
119- "escrowAccounts ": [
119+ "paymentsEscrowAccounts ": [
120120 {
121121 "balance": "34",
122122 "totalAmountThawing": "10",
You can’t perform that action at this time.
0 commit comments