This question already has an answer here:

I have created a few multisig addresses, and just tried to create a 2 of 3 address, but it returned with the 'AddCScript() failed' error.

What is the maximum number of m-sig addresses and where is this in the code? I'd like to know how to expand the limit for a test.

marked as duplicate by Nate Eldredge, cdecker, Jan Moritz, Dennis Kriechel, dchapes Aug 21 '14 at 12:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


I realized what happened, the wallet was a massive size and the Write() function was failing.

Not the answer you're looking for? Browse other questions tagged or ask your own question.