Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changelog/dull-moons-wake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
mpp: patch
---

Updated remaining limit query to latest Tempo T3 interface
4 changes: 2 additions & 2 deletions src/client/tempo/signing/keychain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ pub async fn query_key_spending_limit<P: alloy::providers::Provider>(
}

let result = keychain
.getRemainingLimit(wallet_address, key_address, token)
.getRemainingLimitWithPeriod(wallet_address, key_address, token)
.call()
.await
.mpp_http("failed to query remaining limit")?;

Ok(Some(result))
Ok(Some(result.remaining))
}

/// Resolve the spending limit for a token from a key authorization.
Expand Down
Loading