Post
Topic
Board Armory
Errors on creating transactions
by
btcpop.co
on 15/11/2018, 03:40:02 UTC
I've some inputs on p2sh addresses and I'm not able to spend them.

Was really a pain to move coins from a wallet with 7500+ Inputs when there 3 Inputs that causes issues...

Code:
(ERROR) Traceback (most recent call last):
  File "/usr/lib/armory/ui/TxFrames.py", line 930, in createTxAndBroadcast
    ustx = self.validateInputsGetUSTX()
  File "/usr/lib/armory/ui/TxFrames.py", line 884, in validateInputsGetUSTX
    lockTime=TheBDM.getTopBlockHeight())
  File "/usr/lib/armory/armoryengine/Transaction.py", line 2501, in createFromTxOutSelection
    return self.createFromPyTx(thePyTx, pubKeyMap, txMap, p2shMap)
  File "/usr/lib/armory/armoryengine/Transaction.py", line 2429, in createFromPyTx
    sequence=txin.intSeq, inputID=count))
  File "/usr/lib/armory/armoryengine/Transaction.py", line 1218, in __init__
    raise KeyDataError('Must give pubkey map for singlesig USTXI!')
KeyDataError: Must give pubkey map for singlesig USTXI!

Code:
(ERROR) Traceback (most recent call last):
  File "/usr/lib/armory/ui/TxFrames.py", line 930, in createTxAndBroadcast
    ustx = self.validateInputsGetUSTX()
  File "/usr/lib/armory/ui/TxFrames.py", line 884, in validateInputsGetUSTX
    lockTime=TheBDM.getTopBlockHeight())
  File "/usr/lib/armory/armoryengine/Transaction.py", line 2501, in createFromTxOutSelection
    return self.createFromPyTx(thePyTx, pubKeyMap, txMap, p2shMap)
  File "/usr/lib/armory/armoryengine/Transaction.py", line 2447, in createFromPyTx
    return self.createFromUnsignedTxIO(ustxiList, dtxoList, pytx.lockTime)
  File "/usr/lib/armory/armoryengine/Transaction.py", line 2345, in createFromUnsignedTxIO
    raise ValueError('Supplied inputs are less than the supplied outputs')
ValueError: Supplied inputs are less than the supplied outputs

Inputs are on the BCH chain and are still viewable on blockexplorers, I did several rescans and also full rebuilds.
As those are p2sh addresses its not trivial to just export the privkey and spend via another wallet.