rename is_chain_address to which_chain_address
This commit is contained in:
parent
76deb199a5
commit
e9542cb32c
@ -158,7 +158,7 @@ DAD.buildUserAction = async function (action, keypair) {
|
|||||||
keypair &&
|
keypair &&
|
||||||
keypair.prikey &&
|
keypair.prikey &&
|
||||||
keypair.pubkey &&
|
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)
|
let typedAction = new wo[action.type](action)
|
||||||
typedAction.actorPubkey = keypair.pubkey
|
typedAction.actorPubkey = keypair.pubkey
|
||||||
|
@ -168,7 +168,7 @@ step3:发起人申请执行
|
|||||||
|
|
||||||
MOM.validateMe = async function () {
|
MOM.validateMe = async function () {
|
||||||
return (
|
return (
|
||||||
ticc.is_chain_address({ address: this.toAddress }) &&
|
ticc.which_chain_address({ address: this.toAddress }) &&
|
||||||
this.fee >= wo.Config.MIN_FEE_ActionTransfer &&
|
this.fee >= wo.Config.MIN_FEE_ActionTransfer &&
|
||||||
this.toAddress != this.actorAddress
|
this.toAddress != this.actorAddress
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user