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

CC BY-SA 3.0
2014-08-20T19:16:55.627Z
2014-08-20T19:16:55.627Z
Matthew Darnell
<p>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.</p>

<p>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.</p>

CC BY-SA 3.0
2014-08-20T07:02:09.197Z
http://bitcoin.stackexchange.com/q/23893/12983
amaclin
CC BY-SA 3.0
2014-08-20T08:15:30.280Z
Maybe it failed because the address you're creating already exists in the wallet?
Pieter Wuille
CC BY-SA 3.0
2014-08-21T03:18:53.137Z
You say, "the code", but you don't give us any idea what code you're talking about.
David Schwartz
<transactions><raw-transaction><multi-signature>
What is the maximum number of multisigaddresses you can create?
Matthew Darnell
# What is the maximum number of multisigaddresses you can create?

(Asked by: username_0 on 2014-08-20)

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.

**Tags:** transactions, raw-transaction, multi-signature

> **Comments:**
> **username_1**: http://bitcoin.stackexchange.com/q/23893/12983  
> **username_2**: Maybe it failed because the address you're creating already exists in the wallet?  
> **username_3**: You say, "the code", but you don't give us any idea what code you're talking about.  

---

## 1 answers

### Answer by username_0 on 2014-08-20. Score: 0 | Accepted answer

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


---

