删除多余代码,这个测试已经在上一层 if (...) 里出现过了。
This commit is contained in:
parent
64f095304b
commit
a733f000d5
@ -169,7 +169,6 @@ DAD.api.prepare = async function (option) {
|
||||
if (typedAction.verifyAddress() && // 只检查所有事务通用的格式
|
||||
typedAction.verifySig() &&
|
||||
typedAction.verifyHash() &&
|
||||
!DAD.actionPool[option.Action.hash] &&
|
||||
typedAction.validateMe() && // 检查事务的内容是否符合该子类事务的格式
|
||||
(await typedAction.executableMe()) // 检查事务是否可执行,在当前链的状态下。
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user