Skip to content

Commit

Permalink
Merge pull request #51 from mrpalide/fix/add-reward-system-pk-to-dmsg…
Browse files Browse the repository at this point in the history
…-monitor-whitelisted-keys

Improve dmsg-monitor logic
  • Loading branch information
mrpalide authored Feb 8, 2024
2 parents ebee734 + 0fb0916 commit 1f5d698
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/sirupsen/logrus v1.9.3
github.com/skycoin/dmsg v1.3.14
github.com/skycoin/skywire v1.3.16
github.com/skycoin/skywire-utilities v1.3.14
github.com/skycoin/skywire-utilities v1.3.18-0.20240208220612-9f31eda72f33
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ github.com/skycoin/skywire v1.3.16 h1:6p6j55FreY9nolih3kC4TM1uAuyq75TCSL+swQiOxw
github.com/skycoin/skywire v1.3.16/go.mod h1:qbefFm0bNhSEcKOXxws/4/1q3I615an0p9zHkFetyL4=
github.com/skycoin/skywire-utilities v1.3.14 h1:AzTV3oiij7b2VgpiZHJj/oy4Tojf22I+r50Riza8Xt0=
github.com/skycoin/skywire-utilities v1.3.14/go.mod h1:yFKWpL1bDRPKU3uK+cTF4PnYUMe+eyIj5N2bk4sF5Cw=
github.com/skycoin/skywire-utilities v1.3.18-0.20240208220612-9f31eda72f33 h1:BzhyKolEWT8cnXZJMxC0TYGCvu3wMYdI6NOpvToN+uQ=
github.com/skycoin/skywire-utilities v1.3.18-0.20240208220612-9f31eda72f33/go.mod h1:yFKWpL1bDRPKU3uK+cTF4PnYUMe+eyIj5N2bk4sF5Cw=
github.com/skycoin/systray v1.10.0 h1:fQZJHMylpVvfmOOTLvUssfyHVDoC8Idx6Ba2BlLEuGg=
github.com/skycoin/systray v1.10.0/go.mod h1:/i17Eni5GxFiboIZceeamY5LktDSFFRCvd3fBMerQ+4=
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 h1:TG/diQgUe0pntT/2D9tmUCz4VNwm9MfrtPr0SU2qSX8=
Expand Down
3 changes: 3 additions & 0 deletions pkg/dmsg-monitor/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,5 +443,8 @@ func whitelistedPKs() map[string]bool {
for _, pk := range strings.Split(utilenv.SurveyWhitelistPKs, ",") {
whitelistedPKs[pk] = true
}
for _, pk := range strings.Split(utilenv.RewardSystemPKs, ",") {
whitelistedPKs[pk] = true
}
return whitelistedPKs
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ github.com/skycoin/skywire/pkg/visor/usermanager
github.com/skycoin/skywire/pkg/visor/visorconfig
github.com/skycoin/skywire/pkg/visor/visorinit
github.com/skycoin/skywire/static/icons
# github.com/skycoin/skywire-utilities v1.3.14
# github.com/skycoin/skywire-utilities v1.3.18-0.20240208220612-9f31eda72f33
## explicit; go 1.21
github.com/skycoin/skywire-utilities/pkg/buildinfo
github.com/skycoin/skywire-utilities/pkg/cipher
Expand Down

0 comments on commit 1f5d698

Please sign in to comment.