sharding: return err

Former-commit-id: e199ba76199c07bac43d7cc77b77d087e20fcdd7 [formerly ee2cfe9c3b7f2c491ca5f66198aec401eed9c433]
Former-commit-id: 4a78b1b1326e235f5d83792b5176b69cf75c2de3
This commit is contained in:
Raul Jordan 2018-05-22 18:36:35 -06:00
parent f2770fb5ff
commit f84244afbb

View File

@ -136,7 +136,7 @@ func (n *shardingNode) configShardingNode() error {
scryptN, scryptP, keydir, err := config.AccountConfig()
if err != nil {
panic(err) // TODO(prestonvanloon): handle this.
return err
}
ks := keystore.NewKeyStore(keydir, scryptN, scryptP)