Bitcoin Forum
December 18, 2017, 09:09:23 PM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: "Operation not valid with the current stack size" - multi-signature  (Read 234 times)
Derkvanderwoude
Member
**
Offline Offline

Activity: 84


View Profile
August 07, 2017, 06:56:02 AM
 #1

Hi all,

Hope someone can help me. I want to use multi-signature to send from the multisig-address (shared) to a 'normal' address. I tried with Dash (latest version) and Arctic (latest version) but both give the same error. Hope someone can help me to save the problem below.

First I created the rawtransaction:

createrawtransaction '[{"txid":"<transactionid>","vout":0}]' '{"<address_1>":<# coins>}'

Then I sign via (first cosigner):

signrawtransaction <rawtransaction> '[{"txid":"<transactionid>","vout":0,"scriptPubKey":"<scriptpubkey>","redeemScript":"<redeemscript>"}]' '["<privkey_1>"]'

Error
Code:
{
  "hex": "0100000001ee715226eead1e2b2df66b8b669c2cabd1c3c13130d0916bfc8b4c011d5d3c64000000009200483045022100b0f901b901799305dcd2314e643ae59bac34d130f598160c4a5c32affaadda6702207021de91016bf0ee9056c8970a78ae7f10ffdb356fdd78650576e20d6820c8800147522102192e00b4a056a98ad758de76b5e28ebd60c658035acec742c784f1e776b7259c2103ef49608e3b631f6aa4c9c03531bcc109501eb913952dc7f878932f096e13266652aeffffffff014004fb0b000000001976a91436fcfe5531e9d41ae505b2b6ff5c9bb301857d6a88ac00000000",
  "complete": false,
  "errors": [
    {
      "txid": "643c5d1d014c8bfc6b91d03031c1c3d1ab2c9c668b6bf62d2b1eadee265271ee",
      "vout": 0,
      "scriptSig": "00483045022100b0f901b901799305dcd2314e643ae59bac34d130f598160c4a5c32affaadda6702207021de91016bf0ee9056c8970a78ae7f10ffdb356fdd78650576e20d6820c8800147522102192e00b4a056a98ad758de76b5e28ebd60c658035acec742c784f1e776b7259c2103ef49608e3b631f6aa4c9c03531bcc109501eb913952dc7f878932f096e13266652ae",
      "sequence": 4294967295,
      "error": "Operation not valid with the current stack size"
    }
  ]
}

1513631363
Hero Member
*
Offline Offline

Posts: 1513631363

View Profile Personal Message (Offline)

Ignore
1513631363
Reply with quote  #2

1513631363
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1246


38A35VNc17P7fenEDkLvkTMppwLwTeEeT7


View Profile WWW
August 07, 2017, 06:49:24 PM
 #2

That is expected when your transaction has less signatures than is required to spend the Bitcoin.

Derkvanderwoude
Member
**
Offline Offline

Activity: 84


View Profile
August 07, 2017, 07:06:58 PM
 #3

That is expected when your transaction has less signatures than is required to spend the Bitcoin.

Thank you. Meanwhile I did the 2nd cosigner command-line and the payment went through,
I was curious about the answer but I gues 'works as designed'

Thanks again

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!