Relax policy requirements

This commit is contained in:
decentclock
2022-08-23 12:18:09 -06:00
parent 50cb4dcdfb
commit aa363b9d65

View File

@@ -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,