File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ export class Transaction {
268
268
newTx . outs = this . outs . map ( txOut => {
269
269
return {
270
270
script : txOut . script ,
271
- value : ( txOut as Output ) . value ,
271
+ value : txOut . value ,
272
272
} ;
273
273
} ) ;
274
274
@@ -438,7 +438,7 @@ export class Transaction {
438
438
toffset = 0 ;
439
439
440
440
this . outs . forEach ( out => {
441
- writeUInt64 ( ( out as Output ) . value ) ;
441
+ writeUInt64 ( out . value ) ;
442
442
writeVarSlice ( out . script ) ;
443
443
} ) ;
444
444
@@ -451,7 +451,7 @@ export class Transaction {
451
451
452
452
tbuffer = Buffer . allocUnsafe ( 8 + varSliceSize ( output . script ) ) ;
453
453
toffset = 0 ;
454
- writeUInt64 ( ( output as Output ) . value ) ;
454
+ writeUInt64 ( output . value ) ;
455
455
writeVarSlice ( output . script ) ;
456
456
457
457
hashOutputs = bcrypto . hash256 ( tbuffer ) ;
You can’t perform that action at this time.
0 commit comments