Commit 7f278f28 authored by heyubin's avatar heyubin

add by hyb for MultiSig exec

parent 65ba0be8
...@@ -94,7 +94,7 @@ func (a *action) MultiSigAccCreate(accountCreate *mty.MultiSigAccCreate) (*types ...@@ -94,7 +94,7 @@ func (a *action) MultiSigAccCreate(accountCreate *mty.MultiSigAccCreate) (*types
//通过创建交易的txhash生成一个唯一的多重签名合约 NewAddrFromString //通过创建交易的txhash生成一个唯一的多重签名合约 NewAddrFromString
addr := address.MultiSignAddress(a.txhash) addr := address.MultiSignAddress(a.txhash)
//账户去重校验 //账户去重校验
multiSig, err := getMultiSigAccount(a.localdb, addr) multiSig, err := getMultiSigAccFromDb(a.db, addr)
if err == nil && multiSig != nil { if err == nil && multiSig != nil {
return nil, mty.ErrAccountHasExist return nil, mty.ErrAccountHasExist
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment