From faef2c17aaa42b592fce5d0014c3be78ad29093b Mon Sep 17 00:00:00 2001 From: ryjm Date: Wed, 29 Sep 2021 14:38:29 -0400 Subject: [PATCH 1/2] bitcoin: fix wallet --- pkg/btc-wallet/src/hooks/useSettings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/btc-wallet/src/hooks/useSettings.tsx b/pkg/btc-wallet/src/hooks/useSettings.tsx index 8460c3998..4845b5cf7 100644 --- a/pkg/btc-wallet/src/hooks/useSettings.tsx +++ b/pkg/btc-wallet/src/hooks/useSettings.tsx @@ -159,7 +159,7 @@ export const SettingsProvider: React.FC = ({ channel, children }) => { const initializeSettings = () => { let app = 'settings-store'; - let path = `/bucket/${window.desk}btc-wallet`; + let path = `/bucket/${window.desk}/btc-wallet`; fetch(`/~/scry/${app}${path}.json`) .then((res) => res.json()) From fd85eb8176b12ef54cc214c961647d05ff330166 Mon Sep 17 00:00:00 2001 From: Fang Date: Wed, 29 Sep 2021 22:59:19 +0400 Subject: [PATCH 2/2] desk-jam: exclude /tests from desk jams --- pkg/arvo/lib/desk-jam.hoon | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/pkg/arvo/lib/desk-jam.hoon b/pkg/arvo/lib/desk-jam.hoon index 4441d0839..7e650c7c0 100644 --- a/pkg/arvo/lib/desk-jam.hoon +++ b/pkg/arvo/lib/desk-jam.hoon @@ -4,16 +4,20 @@ |= [our=ship =desk now=@da] ~> %slog.0^leaf/"jamming desk {}" %- jam - %- ?:(=(%base desk) remove-tmp-dir same) + %- ?:(=(%base desk) remove-misc-dirs same) %- ankh-to-map =< ank .^(dome:clay %cv /(scot %p our)/[desk]/(scot %da now)) :: -++ remove-tmp-dir +++ remove-misc-dirs |= fiz=(map path page) ^- (map path page) %- ~(gas by *(map path page)) - (skip ~(tap by fiz) |=([p=path *] ?=([%tmp *] p))) + %+ skip ~(tap by fiz) + |= [p=path *] + ?| ?=([%tmp *] p) + ?=([%tests *] p) + == :: ++ ankh-to-map =| res=(map path page)