Upstream sync
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/jinzhu/gorm"
|
||||
"gitlab.com/pactual1/backend/services/blockchain"
|
||||
"gitlab.com/pactual1/backend/shared"
|
||||
)
|
||||
|
||||
@@ -11,13 +12,15 @@ type service struct {
|
||||
ch chan string
|
||||
db *gorm.DB
|
||||
encryptionClient shared.EncryptionClient
|
||||
blockchainClient blockchain.Service
|
||||
}
|
||||
|
||||
func NewService(ch chan string, db *gorm.DB, encryptionClient shared.EncryptionClient) service {
|
||||
func NewService(ch chan string, db *gorm.DB, encryptionClient shared.EncryptionClient, blockchainClient blockchain.Service) service {
|
||||
return service{
|
||||
ch: ch,
|
||||
db: db,
|
||||
encryptionClient: encryptionClient,
|
||||
blockchainClient: blockchainClient,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user