Sha256: 5156b45aa222c04dee03c83cdaf2241cb95bdcbe615ef5405a56729a0f6da8bc
Contents?: true
Size: 405 Bytes
Versions: 3
Compression:
Stored size: 405 Bytes
Contents
# encoding: ascii-8bit require_relative '../spec_helper.rb' include Bitcoin::Protocol describe 'TxIn' do describe '#initialize without specifying script_sig_length and script_sig' do it 'still creates a serializable TxIn' do prev_tx = Tx.new fixtures_file('rawtx-01.bin') tx_in = TxIn.new prev_tx.binary_hash, 0 lambda { tx_in.to_payload }.should.not.raise end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bitcoin-ruby-0.0.5 | spec/bitcoin/protocol/txin_spec.rb |
bitcoin-ruby-0.0.4 | spec/bitcoin/protocol/txin_spec.rb |
bitcoin-ruby-0.0.3 | spec/bitcoin/protocol/txin_spec.rb |