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(
159
159
// 4. Service provider (indexer) receives payments from payer's escrow
160
160
161
161
let senders_balances: HashMap < Address , U256 > = response
162
- . escrow_accounts
162
+ . payments_escrow_accounts
163
163
. iter ( )
164
164
. map ( |account| {
165
165
let balance = U256 :: checked_sub (
@@ -180,7 +180,7 @@ async fn get_escrow_accounts_v2(
180
180
. collect :: < Result < HashMap < _ , _ > , anyhow:: Error > > ( ) ?;
181
181
182
182
let senders_to_signers = response
183
- . escrow_accounts
183
+ . payments_escrow_accounts
184
184
. into_iter ( )
185
185
. map ( |account| {
186
186
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 {
6661
6661
thawEndTimestamp_in : [BigInt ! ]
6662
6662
thawEndTimestamp_not_in : [BigInt ! ]
6663
6663
_change_block : BlockChangedFilter
6664
- and : [EscrowAccount_filter ]
6665
- or : [EscrowAccount_filter ]
6664
+ and : [PaymentsEscrowAccount_filter ]
6665
+ or : [PaymentsEscrowAccount_filter ]
6666
6666
}
6667
6667
6668
6668
enum PaymentsEscrowAccount_orderBy {
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ pub const ESCROW_QUERY_RESPONSE: &str = r#"
116
116
pub const ESCROW_QUERY_RESPONSE_V2 : & str = r#"
117
117
{
118
118
"data": {
119
- "escrowAccounts ": [
119
+ "paymentsEscrowAccounts ": [
120
120
{
121
121
"balance": "34",
122
122
"totalAmountThawing": "10",
You can’t perform that action at this time.
0 commit comments