Skip to content

Commit

Permalink
Merge pull request #74 from bitcoin-sv/SPV-807/sharedConfig
Browse files Browse the repository at this point in the history
SPV-807: shared config
  • Loading branch information
Nazarii-4chain authored May 28, 2024
2 parents 3710bdf + 70dbd83 commit 8c2f20f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21.5

require (
github.com/avast/retry-go/v4 v4.5.1
github.com/bitcoin-sv/spv-wallet-go-client v1.0.0-beta.3
github.com/bitcoin-sv/spv-wallet-go-client v1.0.0-beta.5
github.com/bitcoin-sv/spv-wallet/models v1.0.0-beta.6
github.com/brianvoe/gofakeit/v6 v6.28.0
github.com/centrifugal/centrifuge v0.31.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ github.com/avast/retry-go/v4 v4.5.1 h1:AxIx0HGi4VZ3I02jr78j5lZ3M6x1E0Ivxa6b0pUUh
github.com/avast/retry-go/v4 v4.5.1/go.mod h1:/sipNsvNB3RRuT5iNcb6h73nw3IBmXJ/H3XrCQYSOpc=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/bitcoin-sv/spv-wallet-go-client v1.0.0-beta.3 h1:QmRcfQ5PHfUUfL0yquDzU1s4hJmrH0PeMnPPVVTvMzw=
github.com/bitcoin-sv/spv-wallet-go-client v1.0.0-beta.3/go.mod h1:hNy5mUafqIPnHUkGi/LblVM+t6dck8MNblvV7zhvJWQ=
github.com/bitcoin-sv/spv-wallet-go-client v1.0.0-beta.5 h1:YuX9unTpHqgIJu9WTxBrxFGS1LtanAI2NTn/LTj4w74=
github.com/bitcoin-sv/spv-wallet-go-client v1.0.0-beta.5/go.mod h1:hNy5mUafqIPnHUkGi/LblVM+t6dck8MNblvV7zhvJWQ=
github.com/bitcoin-sv/spv-wallet/models v1.0.0-beta.6 h1:KKWtlfhqQ9fdza+ZZ5YraPy3KTqJq/hRhAuJTDDTLfQ=
github.com/bitcoin-sv/spv-wallet/models v1.0.0-beta.6/go.mod h1:i3txysriHpprqYd3u97wEQsC4/jn+KHcyFOmuFYMw8M=
github.com/bitcoinschema/go-bitcoin/v2 v2.0.5 h1:Sgh5Eb746Zck/46rFDrZZEXZWyO53fMuWYhNoZa1tck=
Expand Down
2 changes: 1 addition & 1 deletion transports/spvwallet/admin_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (c *AdminWalletClient) RegisterPaymail(alias, xpub string) (string, error)

// GetSharedConfig returns shared config from SPV Wallet.
func (c *AdminWalletClient) GetSharedConfig() (*models.SharedConfig, error) {
sharedConfig, err := c.client.AdminGetSharedConfig(context.Background())
sharedConfig, err := c.client.GetSharedConfig(context.Background())
if err != nil {
c.log.Error().Msgf("Error while getting shared config: %v", err.Error())
return nil, err
Expand Down

0 comments on commit 8c2f20f

Please sign in to comment.