fix: TokenApprovalsManager should not implement ApprovalsManager

They should be separate.
ApprovalsManager is only for user approvals
This commit is contained in:
Diana Carvalho
2025-01-14 14:37:14 +00:00
parent 3e609c75ae
commit 93410b4fe2
5 changed files with 22 additions and 30 deletions

View File

@@ -8,6 +8,6 @@ pub struct Approval {
pub amount: BigUint,
}
pub trait ApprovalsManager {
pub trait UserApprovalsManager {
fn encode_approvals(&self, approvals: Vec<Approval>) -> Vec<u8>;
}