Transaction signing only by scheduled son

This commit is contained in:
Srdjan Obucina 2020-03-21 07:17:11 +01:00
parent 7abd1c958f
commit 831d0c824f

View file

@ -358,11 +358,9 @@ void peerplays_sidechain_plugin_impl::son_processing() {
current_son_id = son_id;
// 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();
process_sidechain_transactions();
// Tasks that are executed by scheduled and active SON
if (current_son_id == scheduled_son_id) {
@ -376,6 +374,8 @@ void peerplays_sidechain_plugin_impl::son_processing() {
process_withdrawals();
process_sidechain_transactions();
send_sidechain_transactions();
}
} else {