Author

Topic: Sweeping from armory address failing (Read 308 times)

copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
November 27, 2016, 04:20:46 AM
#7
nvm, didn't see the second link you posted Smiley

0100000001d5fdcc541e25de1c7a5addedf24858b8bb665c9f36ef744ee42c316022c90f9b24809 f088a47304402201ae4517dbebd5b082e199b70651afc878435e708e416936f9a336853abbbf0f1 022039285ef581ab8cb95fdc2b0a9bc3ad14740e3224bf24d7b0dc0143975b67651201410408a03 23173d656a66cab860631911c9f9c3ecc5187972731c8774eb1726fe890f709c85537882ad9df4a d661752d2d0544f593eea04304d3f7cc43c088b3176dffffffff016601cd1d0000000017a9141bb 6e4d8b5b219551ac32c97406b8e7f757fc34d8700000000

this is the raw transaction ID

Thanks, this is the decoded version:

Code:
{
  "txid": "5a55795b6ffdd62f04c98eff2f424d13356844eed3e141b5e268244360cc657a",
  "hash": "5a55795b6ffdd62f04c98eff2f424d13356844eed3e141b5e268244360cc657a",
  "size": 221,
  "vsize": 221,
  "version": 1,
  "locktime": 0,
  "vin": [
    {
      "txid": "9b0fc92260312ce44e74ef369f5c66bbb85848f2eddd5a7a1cde251e54ccfdd5",
      "vout": 144670756,
      "scriptSig": {
        "asm": "304402201ae4517dbebd5b082e199b70651afc878435e708e416936f9a336853abbbf0f1022039285ef581ab8cb95fdc2b0a9bc3ad14740e3224bf24d7b0dc0143975b676512[ALL] 0408a0323173d656a66cab860631911c9f9c3ecc5187972731c8774eb1726fe890f709c85537882ad9df4ad661752d2d0544f593eea04304d3f7cc43c088b3176d",
        "hex": "47304402201ae4517dbebd5b082e199b70651afc878435e708e416936f9a336853abbbf0f1022039285ef581ab8cb95fdc2b0a9bc3ad14740e3224bf24d7b0dc0143975b67651201410408a0323173d656a66cab860631911c9f9c3ecc5187972731c8774eb1726fe890f709c85537882ad9df4ad661752d2d0544f593eea04304d3f7cc43c088b3176d"
      },
      "sequence": 4294967295
    }
  ],
  "vout": [
    {
      "value": 4.99974502,
      "n": 0,
      "scriptPubKey": {
        "asm": "OP_HASH160 1bb6e4d8b5b219551ac32c97406b8e7f757fc34d OP_EQUAL",
        "hex": "a9141bb6e4d8b5b219551ac32c97406b8e7f757fc34d87",
        "reqSigs": 1,
        "type": "scripthash",
        "addresses": [
          "34DZGR6o7cPkAbUoV3TVDyuVtjkhRMWw9w"
        ]
      }
    }
  ]
}

The TXID under "vin" is -> 9b0fc92260312ce44e74ef369f5c66bbb85848f2eddd5a7a1cde251e54ccfdd5
which is the coinbase from block 2
-> https://blockchain.info/tx/9b0fc92260312ce44e74ef369f5c66bbb85848f2eddd5a7a1cde251e54ccfdd5

It tries to spend output number 144670756, which does not exist, the transaction has a single output (number 0).

You would also pay ~45 BTC in fees as the input is 50 BTC and the output you create 4.9974502 BTC. Not that it matters on an invalid transaction.



Maybe it would be better to import the private key into electrum instead. There might be a bug with the sweep method.
newbie
Activity: 12
Merit: 12
November 26, 2016, 05:43:10 PM
#6
nvm, didn't see the second link you posted Smiley

0100000001d5fdcc541e25de1c7a5addedf24858b8bb665c9f36ef744ee42c316022c90f9b24809 f088a47304402201ae4517dbebd5b082e199b70651afc878435e708e416936f9a336853abbbf0f1 022039285ef581ab8cb95fdc2b0a9bc3ad14740e3224bf24d7b0dc0143975b67651201410408a03 23173d656a66cab860631911c9f9c3ecc5187972731c8774eb1726fe890f709c85537882ad9df4a d661752d2d0544f593eea04304d3f7cc43c088b3176dffffffff016601cd1d0000000017a9141bb 6e4d8b5b219551ac32c97406b8e7f757fc34d8700000000

this is the raw transaction ID
newbie
Activity: 12
Merit: 12
November 26, 2016, 05:28:57 PM
#5
Hmm, my transaction ID is far longer than your sample

https://i.imgur.com/nVKuZzu.png (it's like 3 times as long as shown here, don't know exactly what these values mean/are so a bit hesitant to post them on the forum completely).

copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
November 26, 2016, 01:24:20 PM
#4
hmmm what do you mean exactly?
I just copied the PrivBase58 key from that address from the armory wallet and entered that here to sweep:
https://i.imgur.com/SVNUGvJ.png

I understand.

do you mean that thing that starts with 0100000001d5fdcc....etc ?

That looks good, but it might also be the transaction id from the error above. It is in the file if you select safe on the other screen. Copy probably puts it in your clipboard as well. Its essentially the data you would broadcast to the network.

But if it was a confirmed transaction shouldn't that show on blockchain.info that it was already being send somewhere else? (https://blockchain.info/address/14ZqL88Tq4XxdGmHQUeB8TP3biYQQZodo1)

Bitcoins are not send from addresses, but use inputs. Id like to see which input the transaction exactly uses to understand why the wallet thinks its spend.



Here is an example:

transaction id -> https://blockchain.info/tx/782362bb80568b9b867069b0f090abcd4af13b256ebb6e3fb21bcd3284f83323
raw transaction -> https://blockchain.info/tx/782362bb80568b9b867069b0f090abcd4af13b256ebb6e3fb21bcd3284f83323?format=hex
newbie
Activity: 12
Merit: 12
November 26, 2016, 01:07:28 PM
#3
hmmm what do you mean exactly?
I just copied the PrivBase58 key from that address from the armory wallet and entered that here to sweep:
https://i.imgur.com/SVNUGvJ.png

do you mean that thing that starts with 0100000001d5fdcc....etc ?

But if it was a confirmed transaction shouldn't that show on blockchain.info that it was already being send somewhere else? (https://blockchain.info/address/14ZqL88Tq4XxdGmHQUeB8TP3biYQQZodo1)
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
November 26, 2016, 12:53:25 PM
#2
I'm trying to import btc from my armory wallet but I'm getting a bad-txns-inputs-spent error.
https://i.imgur.com/AlBGprE.png

I have no idea why it won't accept this, the coins are still in that address now but it refuses to import them.
Anybody know why?

Can you paste the raw or decoded transaction here? Essentially the content of file you used to transfer the TX from armory to electrum. The error suggests that you attempt a double spend on a confirmed transaction.
newbie
Activity: 12
Merit: 12
November 26, 2016, 12:22:05 PM
#1
I'm trying to import btc from my armory wallet but I'm getting a bad-txns-inputs-spent error.
https://i.imgur.com/AlBGprE.png

I have no idea why it won't accept this, the coins are still in that address now but it refuses to import them.
Anybody know why?
Jump to: