From 2a39168d9a637504378689381f6c6e10df823f2b Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:24:15 +0100 Subject: [PATCH 1/2] fix typos --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bcaca045a..a4ccc8681 100644 --- a/README.md +++ b/README.md @@ -214,14 +214,14 @@ setting does not have a default value, it can be updated using the settings API: In most cases the default set should match the set from your autopilot configuration in order for migrations to work properly. The contract set can be -overriden by passing it as a query string parameter to the worker's upload and +overridden by passing it as a query string parameter to the worker's upload and migrate endpoints. - `PUT /api/worker/objects/foo?contractset=foo` ### Redundancy -The default redundancy on mainnet is 30-10, on testnet it is 6-2. The redunancy +The default redundancy on mainnet is 30-10, on testnet it is 6-2. The redundancy can be updated using the settings API: - `GET /api/bus/setting/redundancy` From 362b45c46f1bbeed2884c4db00b0cb84898e2ae5 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Wed, 6 Mar 2024 11:26:48 +0100 Subject: [PATCH 2/2] fix typo --- worker/rhpv3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker/rhpv3.go b/worker/rhpv3.go index 45a3610e2..9c280f2bd 100644 --- a/worker/rhpv3.go +++ b/worker/rhpv3.go @@ -471,7 +471,7 @@ func (a *account) WithWithdrawal(ctx context.Context, amtFn func() (types.Curren func (a *accounts) deriveAccountKey(hostKey types.PublicKey) types.PrivateKey { index := byte(0) // not used yet but can be used to derive more than 1 account per host - // Append the the host for which to create it and the index to the + // Append the host for which to create it and the index to the // corresponding sub-key. subKey := a.key data := append(subKey, hostKey[:]...)