fixed return_payment issues for N-out-TXs; fixed change_index being incorrect datatype; partial fix to asset_type RPC propagation issue

This commit is contained in:
Some Random Crypto Guy
2024-10-09 12:21:50 +01:00
parent 8b2b039036
commit da3ef2511d
4 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -856,7 +856,7 @@ namespace cryptonote
uint64_t summary_outs_money = 0;
//fill outputs
size_t output_index = 0;
size_t change_index = 0;
uint8_t change_index = 0;
for(const tx_destination_entry& dst_entr: destinations)
{
CHECK_AND_ASSERT_MES(dst_entr.amount > 0 || tx.version > 1, false, "Destination with wrong amount: " << dst_entr.amount);