mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-10-22 00:22:37 +00:00
fix: store revoked delegation
This commit is contained in:
@@ -237,7 +237,9 @@ impl DelegationOps {
|
||||
"corrupt delegation grant",
|
||||
)?;
|
||||
|
||||
val.map(|v| self.value_to_grant(&v)).transpose()
|
||||
val.filter(|v| v.revoked_at_ms.is_none())
|
||||
.map(|v| self.value_to_grant(&v))
|
||||
.transpose()
|
||||
}
|
||||
|
||||
pub fn get_delegations_for_account(
|
||||
|
||||
Reference in New Issue
Block a user