Merge branch 'bug/507/bitcoin_regression_detected_on_develop_branch' into 'develop'

Fix the issue for wrong number of signers

See merge request PBSA/peerplays!204
This commit is contained in:
serkixenos 2023-02-06 20:48:11 +00:00
commit 038fa37cc6

View file

@ -34,7 +34,6 @@ object_id_type sidechain_transaction_create_evaluator::do_apply(const sidechain_
sto.object_id = op.object_id; sto.object_id = op.object_id;
sto.transaction = op.transaction; sto.transaction = op.transaction;
std::vector<son_sidechain_info> signers; std::vector<son_sidechain_info> signers;
signers.resize(op.signers.size());
for(const auto& signer : op.signers){ for(const auto& signer : op.signers){
son_sidechain_info ssi; son_sidechain_info ssi;
ssi.son_id = signer.son_id; ssi.son_id = signer.son_id;