monero: fix rcp.restricted option

According to https://monerodocs.org/interacting/monerod-reference/#node-rpc-api
the correct option is restricted-rpc, not restrict-rpc.
This commit is contained in:
Vojtěch Káně 2020-05-11 12:11:58 +02:00
parent b690b78b66
commit e7ab236cab
1 changed files with 1 additions and 1 deletions
nixos/modules/services/networking

View File

@ -26,7 +26,7 @@ let
rpc-login=${rpc.user}:${rpc.password}
''}
${optionalString rpc.restricted ''
restrict-rpc=1
restricted-rpc=1
''}
limit-rate-up=${toString limits.upload}