Skip to content

Commit

Permalink
fix: encryption passphrase
Browse files Browse the repository at this point in the history
  • Loading branch information
CaioTeixeira95 committed Jun 28, 2024
1 parent 049a643 commit f700dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *serveCmd) Command() *cobra.Command {
}
cfg.DistributionAccountSignatureClient = signatureClient

channelAccountSignatureClient, err := signing.NewChannelAccountDBSignatureClient(dbConnectionPool, cfg.NetworkPassphrase, &channelaccounts.DefaultPrivateKeyEncrypter{}, distributionAccountPrivateKey)
channelAccountSignatureClient, err := signing.NewChannelAccountDBSignatureClient(dbConnectionPool, cfg.NetworkPassphrase, &channelaccounts.DefaultPrivateKeyEncrypter{}, cfg.EncryptionPassphrase)
if err != nil {
return fmt.Errorf("instantiating channel account db signature client: %w", err)
}
Expand Down

0 comments on commit f700dba

Please sign in to comment.