File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -424,11 +424,8 @@ async function main() {
424
424
txInfo . outputs . sort ( DashTx . sortOutputs ) ;
425
425
}
426
426
427
- let keys = [ ] ;
428
427
for ( let input of txInfo . inputs ) {
429
428
let data = keysMap [ input . address ] ;
430
- let addressKey = await xreceiveKey . deriveAddress ( data . index ) ;
431
- keys . push ( addressKey . privateKey ) ;
432
429
// DEBUG check pkh hex
433
430
let pubKeyHashBytes = await DashKeys . addrToPkh ( data . address , {
434
431
version : 'testnet' ,
@@ -438,9 +435,8 @@ async function main() {
438
435
}
439
436
let txInfoSigned = await dashTx . hashAndSignAll ( txInfo ) ;
440
437
441
- console . log ( '[debug], txInfo, keys, txSigned' ) ;
438
+ console . log ( '[debug], txInfo, txSigned' ) ;
442
439
console . log ( txInfo ) ;
443
- console . log ( keys ) ;
444
440
console . log ( txInfoSigned ) ;
445
441
await sleep ( 150 ) ;
446
442
let txRpc = await rpc . sendRawTransaction ( txInfoSigned . transaction ) ;
You can’t perform that action at this time.
0 commit comments