mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-16 18:37:51 +01:00
21 lines
410 B
Go
21 lines
410 B
Go
/*
|
|
File Name: Warehouse.go
|
|
Copyright: 2021 Peernet s.r.o.
|
|
Author: Peter Kleissner
|
|
*/
|
|
|
|
package core
|
|
|
|
import (
|
|
"github.com/PeernetOfficial/core/warehouse"
|
|
)
|
|
|
|
func (backend *Backend) initUserWarehouse() {
|
|
var err error
|
|
backend.UserWarehouse, err = warehouse.Init(backend.Config.WarehouseMain)
|
|
|
|
if err != nil {
|
|
backend.LogError("initUserWarehouse", "error: %s\n", err.Error())
|
|
}
|
|
}
|