Bitcoin Forum
May 14, 2024, 12:16:43 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: "Operation not valid with the current stack size" - multi-signature  (Read 368 times)
Derkvanderwoude (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


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"
    }
  ]
}

1715689003
Hero Member
*
Offline Offline

Posts: 1715689003

View Profile Personal Message (Offline)

Ignore
1715689003
Reply with quote  #2

1715689003
Report to moderator
1715689003
Hero Member
*
Offline Offline

Posts: 1715689003

View Profile Personal Message (Offline)

Ignore
1715689003
Reply with quote  #2

1715689003
Report to moderator
1715689003
Hero Member
*
Offline Offline

Posts: 1715689003

View Profile Personal Message (Offline)

Ignore
1715689003
Reply with quote  #2

1715689003
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715689003
Hero Member
*
Offline Offline

Posts: 1715689003

View Profile Personal Message (Offline)

Ignore
1715689003
Reply with quote  #2

1715689003
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6641


Just writing some code


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 (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10


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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!