Transaction signing only by scheduled son
This commit is contained in:
parent
7abd1c958f
commit
831d0c824f
1 changed files with 3 additions and 3 deletions
|
|
@ -358,11 +358,9 @@ void peerplays_sidechain_plugin_impl::son_processing() {
|
||||||
current_son_id = son_id;
|
current_son_id = son_id;
|
||||||
|
|
||||||
// Tasks that are executed by all active SONs, no matter if scheduled
|
// Tasks that are executed by all active SONs, no matter if scheduled
|
||||||
// E.g. sending approvals and signing
|
// E.g. sending approvals and signing (only signing that can be done in parallel)
|
||||||
approve_proposals();
|
approve_proposals();
|
||||||
|
|
||||||
process_sidechain_transactions();
|
|
||||||
|
|
||||||
// Tasks that are executed by scheduled and active SON
|
// Tasks that are executed by scheduled and active SON
|
||||||
if (current_son_id == scheduled_son_id) {
|
if (current_son_id == scheduled_son_id) {
|
||||||
|
|
||||||
|
|
@ -376,6 +374,8 @@ void peerplays_sidechain_plugin_impl::son_processing() {
|
||||||
|
|
||||||
process_withdrawals();
|
process_withdrawals();
|
||||||
|
|
||||||
|
process_sidechain_transactions();
|
||||||
|
|
||||||
send_sidechain_transactions();
|
send_sidechain_transactions();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue