fix: TokenApprovalsManager should not implement ApprovalsManager
They should be separate. ApprovalsManager is only for user approvals
This commit is contained in:
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user