OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8593a3
)
use []*bc.AssetID for AssetWhitelist
author
HAOYUatHZ
<haoyu@protonmail.com>
Thu, 13 Feb 2020 06:25:47 +0000
(14:25 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Thu, 13 Feb 2020 06:25:47 +0000
(14:25 +0800)
config/config.go
patch
|
blob
|
history
diff --git
a/config/config.go
b/config/config.go
index
70405a1
..
e5a0d02
100644
(file)
--- a/
config/config.go
+++ b/
config/config.go
@@
-11,6
+11,7
@@
import (
log "github.com/sirupsen/logrus"
"github.com/bytom/vapor/crypto/ed25519/chainkd"
+ "github.com/bytom/vapor/protocol/bc"
)
var (
@@
-212,7
+213,7
@@
type WebsocketConfig struct {
type FederationConfig struct {
Xpubs []chainkd.XPub `json:"xpubs"`
Quorum int `json:"quorum"`
- AssetWhitelist []
string
`json:"asset_whitelist"`
+ AssetWhitelist []
*bc.AssetID
`json:"asset_whitelist"`
}
// Default configurable rpc's auth parameters.