@@ -30,7 +30,7 @@ describe('Transaction', function() {
3030
3131 describe ( 'fromBuffer/fromHex' , function ( ) {
3232 fixtures . valid . forEach ( function ( f ) {
33- it ( 'imports ' + f . txid + ' correctly' , function ( ) {
33+ it ( 'imports ' + f . id + ' correctly' , function ( ) {
3434 var actual = Transaction . fromHex ( f . hex )
3535
3636 assert . deepEqual ( actual . toHex ( ) , f . hex )
@@ -48,7 +48,7 @@ describe('Transaction', function() {
4848
4949 describe ( 'toBuffer/toHex' , function ( ) {
5050 fixtures . valid . forEach ( function ( f ) {
51- it ( 'exports ' + f . txid + ' correctly' , function ( ) {
51+ it ( 'exports ' + f . id + ' correctly' , function ( ) {
5252 var actual = fromRaw ( f . raw )
5353
5454 assert . deepEqual ( actual . toHex ( ) , f . hex )
@@ -109,7 +109,7 @@ describe('Transaction', function() {
109109 } )
110110
111111 fixtures . valid . forEach ( function ( f ) {
112- it ( 'should add the inputs for ' + f . txid + ' correctly' , function ( ) {
112+ it ( 'should add the inputs for ' + f . id + ' correctly' , function ( ) {
113113 var tx = new Transaction ( )
114114
115115 f . raw . ins . forEach ( function ( txIn , i ) {
@@ -183,7 +183,7 @@ describe('Transaction', function() {
183183 } )
184184
185185 fixtures . valid . forEach ( function ( f ) {
186- it ( 'should add the outputs for ' + f . txid + ' correctly' , function ( ) {
186+ it ( 'should add the outputs for ' + f . id + ' correctly' , function ( ) {
187187 var tx = new Transaction ( )
188188
189189 f . raw . outs . forEach ( function ( txOut , i ) {
@@ -215,18 +215,18 @@ describe('Transaction', function() {
215215
216216 describe ( 'getId' , function ( ) {
217217 fixtures . valid . forEach ( function ( f ) {
218- it ( 'should return the txid for ' + f . txid , function ( ) {
218+ it ( 'should return the id for ' + f . id , function ( ) {
219219 var tx = Transaction . fromHex ( f . hex )
220220 var actual = tx . getId ( )
221221
222- assert . equal ( actual , f . txid )
222+ assert . equal ( actual , f . id )
223223 } )
224224 } )
225225 } )
226226
227227 describe ( 'getHash' , function ( ) {
228228 fixtures . valid . forEach ( function ( f ) {
229- it ( 'should return the hash for ' + f . txid , function ( ) {
229+ it ( 'should return the hash for ' + f . id , function ( ) {
230230 var tx = Transaction . fromHex ( f . hex )
231231 var actual = tx . getHash ( ) . toString ( 'hex' )
232232
0 commit comments