Skip to content

Commit 2ea2eb0

Browse files
committed
fix: Remove max_willing_to_lose
Add max_willing_to_lose into the default config values
1 parent 18e2609 commit 2ea2eb0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config/default_values.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ url_prefix = "/"
1717
[service.tap]
1818
max_receipt_value_grt = "0.001" # We use strings to prevent rounding errors
1919

20+
[tap]
21+
max_amount_willing_to_lose_grt = 20
22+
2023
[tap.rav_request]
2124
trigger_value_divisor = 10
2225
timestamp_buffer_secs = 60

config/minimal-config-example.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ receipts_verifier_address = "0x2222222222222222222222222222222222222222"
5959
# NOTE: Use strings for decimal values to prevent rounding errors
6060
# e.g:
6161
# max_amount_willing_to_lose_grt = "0.1"
62-
max_amount_willing_to_lose_grt = 20
6362

6463
[tap.sender_aggregator_endpoints]
6564
# Key-Value of all senders and their aggregator endpoints

0 commit comments

Comments
 (0)