diff --git a/Action.js b/Action.js index dd9ddf6..4693e69 100644 --- a/Action.js +++ b/Action.js @@ -158,7 +158,7 @@ DAD.buildUserAction = async function (action, keypair) { keypair && keypair.prikey && keypair.pubkey && - ticc.seckey_to_pubkey({ prikey: keypair.prikey }) === keypair.pubkey + ticc.prikey_to_pubkey({ prikey: keypair.prikey }) === keypair.pubkey ) { let typedAction = new wo[action.type](action) typedAction.actorPubkey = keypair.pubkey diff --git a/ActionMultisig.js b/ActionMultisig.js index 5e9e79c..e20b154 100644 --- a/ActionMultisig.js +++ b/ActionMultisig.js @@ -168,7 +168,7 @@ step3:发起人申请执行 MOM.validateMe = async function () { return ( - ticc.is_chain_address({ address: this.toAddress }) && + ticc.which_chain_address({ address: this.toAddress }) && this.fee >= wo.Config.MIN_FEE_ActionTransfer && this.toAddress != this.actorAddress )