Browse Source

Remove comment about old transaction dict format, not used anymore

master
Kristaps Kaupe 5 years ago
parent
commit
86fd2cc230
No known key found for this signature in database
GPG Key ID: D47B1B4232B55437
  1. 26
      jmclient/jmclient/wallet.py

26
jmclient/jmclient/wallet.py

@ -32,32 +32,6 @@ import jmbitcoin as btc
from jmbase import JM_WALLET_NAME_PREFIX, bintohex
"""
transaction dict format:
{
'version': int,
'locktime': int,
'ins': [
{
'outpoint': {
'hash': bytes,
'index': int
},
'script': bytes,
'sequence': int,
'txinwitness': [bytes]
}
],
'outs': [
{
'script': bytes,
'value': int
}
]
}
"""
def _int_to_bytestr(i):
return str(i).encode('ascii')

Loading…
Cancel
Save