DAD._table 改为 MOM._table
This commit is contained in:
@@ -8,9 +8,10 @@ const DAD = module.exports = function ActionMultisig (prop) {
|
||||
this.type = this.constructor.name
|
||||
}
|
||||
DAD.__proto__ = Action
|
||||
// DAD._table=DAD.name // 注释掉,从而继承父类Action的数据库表格名
|
||||
|
||||
const MOM = DAD.prototype
|
||||
MOM.__proto__ = Action.prototype
|
||||
// MOM._table=DAD.name // 注释掉,从而继承父类Action的数据库表格名
|
||||
|
||||
MOM.signMe = function (seckey) { // 由前端调用,后台不该进行签名
|
||||
let json = this.getJson({ exclude: ['hash', 'blockHash', 'actorSignature', 'json'] }) // 是前端用户发起事务时签字,这时候还不知道进入哪个区块,所以不能计入blockHash
|
||||
|
||||
Reference in New Issue
Block a user