mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-18 15:54:31 +01:00
Relax policy requirements
This commit is contained in:
@@ -45,8 +45,6 @@ pub fn init(bytes: Vec<u8>, network: Network) -> anyhow::Result<InitResponse> {
|
|||||||
log::info!("allowlist {:?}", allowlist);
|
log::info!("allowlist {:?}", allowlist);
|
||||||
let mut policy = make_simple_policy(network);
|
let mut policy = make_simple_policy(network);
|
||||||
policy.filter = PolicyFilter::new_permissive();
|
policy.filter = PolicyFilter::new_permissive();
|
||||||
policy.require_invoices = true;
|
|
||||||
policy.enforce_balance = true;
|
|
||||||
let velocity_spec = VelocityControlSpec {
|
let velocity_spec = VelocityControlSpec {
|
||||||
limit: 10,
|
limit: 10,
|
||||||
interval_type: VelocityControlIntervalType::Hourly,
|
interval_type: VelocityControlIntervalType::Hourly,
|
||||||
|
|||||||
Reference in New Issue
Block a user