You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (info.num_blinded != blind_details->num_to_blind) {
1653
1657
auto status = BlindStatusString(info.status);
1654
-
wallet.WalletLogPrintf("ERROR: tried to blind %d outputs but only blinded %d. Blind status: %s\n", (int)blind_details->num_to_blind, info.num_blinded, status);
1655
1658
auto message = strprintf("Unable to blind transaction: %s Number of blinded outputs: %d.", status, info.num_blinded);
1659
+
auto num_inputs = result->GetInputSet().size();
1660
+
wallet.WalletLogPrintf("ERROR: tried to blind %d outputs but only blinded %d. Number of inputs: %d. Blind status: %s\n", (int)blind_details->num_to_blind, info.num_blinded, num_inputs, status);
1661
+
if (num_inputs > 256) {
1662
+
message = strprintf("Unable to blind transaction. Only 256 inputs can be blinded at once. Transaction has %d inputs.", num_inputs);
assert_raises_rpc_error(-4, "Unable to blind transaction: Number to blind: 2. Number blinded: 0.", recipient.fundrawtransaction, rawtx)
1290
+
assert_raises_rpc_error(-4, "Unable to blind transaction. Only 256 inputs can be blinded at once. Transaction has 500 inputs.", recipient.fundrawtransaction, rawtx)
1291
1291
1292
1292
# Try to send them across two transactions. This should succeed.
0 commit comments