mirror of
https://gitee.com/BDWare/cm
synced 2025-01-10 09:54:03 +00:00
fix: fix bugs
fix bugs in ContractManager.executeContractInternal
This commit is contained in:
parent
bb811da070
commit
70c8313226
@ -1480,8 +1480,7 @@ public class ContractManager {
|
|||||||
if (null != client.contractMeta.seekFunction(cr.getAction()) &&
|
if (null != client.contractMeta.seekFunction(cr.getAction()) &&
|
||||||
client.contractMeta.exportedFunctions.get(cr.getAction()).isView) {
|
client.contractMeta.exportedFunctions.get(cr.getAction()).isView) {
|
||||||
executeLocallyAsync(cr, rcb, hcb);
|
executeLocallyAsync(cr, rcb, hcb);
|
||||||
}
|
} else if (multiMeta != null && multiMeta.isMaster()) {
|
||||||
if (multiMeta != null && multiMeta.isMaster()) {
|
|
||||||
masterStub.executeByMaster(client, rcb, cr);
|
masterStub.executeByMaster(client, rcb, cr);
|
||||||
} else {
|
} else {
|
||||||
executeContractOnOtherNodes(cr, rcb);
|
executeContractOnOtherNodes(cr, rcb);
|
||||||
|
Loading…
Reference in New Issue
Block a user