pybitcointools icon indicating copy to clipboard operation
pybitcointools copied to clipboard

Problem from first examle in README

Open teror4uks opened this issue 6 years ago • 1 comments

Hello, I want to use your fork, for understand how works bitcoin net. And when I start generate inputs from https://github.com/primal100/pybitcointools#example-usage---the-long-way-best-way-to-learn-- that tutorial, I got a problem in my inputs always is empty list without value and output keys. And I don't understand it's normal or not?

P.S. Sorry for my English.

teror4uks avatar Mar 15 '18 14:03 teror4uks

Hi, I have the same problem. inputs are like this:

[
  {
    'address': '1B9Ckk6EdwKSXRdCR1VVhtRtVrHFLvqCby',
    'height': 518447,
    'tx_hash': '171d20968d3adc4e4be7bd0689d6cacc197351cbfa29b23bea830620fe649e0b',
    'tx_pos': 2,
    'value': 18100000
  }
]

And the is_inp method searching for output or outpoint field in inputs but it is not there. (Sorry for my bad English)

iRhonin avatar Apr 16 '18 10:04 iRhonin

Should work now in the latest version 2.0.4.

primal100 avatar Mar 23 '23 11:03 primal100