diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-12 12:23:16 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:58 +0800 |
commit | 4ccf46bcec17b207f915f358f8b23055cd603a5a (patch) | |
tree | 6fc5a2401d8c4df4e7544376286bcc3f2dc0cca1 /core | |
parent | dc20741f407fc9f180811dbda618056a08941252 (diff) | |
download | dexon-4ccf46bcec17b207f915f358f8b23055cd603a5a.tar dexon-4ccf46bcec17b207f915f358f8b23055cd603a5a.tar.gz dexon-4ccf46bcec17b207f915f358f8b23055cd603a5a.tar.bz2 dexon-4ccf46bcec17b207f915f358f8b23055cd603a5a.tar.lz dexon-4ccf46bcec17b207f915f358f8b23055cd603a5a.tar.xz dexon-4ccf46bcec17b207f915f358f8b23055cd603a5a.tar.zst dexon-4ccf46bcec17b207f915f358f8b23055cd603a5a.zip |
vendor: sync to latest core and fix conflict
Diffstat (limited to 'core')
-rw-r--r-- | core/vm/oracle_contracts.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/oracle_contracts.go b/core/vm/oracle_contracts.go index 0904c2430..cd20b7afa 100644 --- a/core/vm/oracle_contracts.go +++ b/core/vm/oracle_contracts.go @@ -1116,7 +1116,7 @@ func (c *defaultCoreDKGUtils) NewGroupPublicKey(round *big.Int, threshold int) ( complaints = append(complaints, x) } - return dexCore.NewDKGGroupPublicKey(round.Uint64(), mpks, complaints, threshold) + return dkgTypes.NewGroupPublicKey(round.Uint64(), mpks, complaints, threshold) } func (g *GovernanceContract) Address() common.Address { @@ -1764,7 +1764,7 @@ func (g *GovernanceContract) resetDKG(newSignedCRS []byte) ([]byte, error) { return nil, errExecutionReverted } switch err { - case dexCore.ErrNotReachThreshold, dexCore.ErrInvalidThreshold: + case dkgTypes.ErrNotReachThreshold, dkgTypes.ErrInvalidThreshold: default: return nil, errExecutionReverted } |