mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-12-06 17:27:59 +00:00
Lints src/wallet and test/wallet (#1600)
* lint src/wallet/index * lint generateFaucetWallet * lint tests * respond to comments * change max-lines-per-function to 40 * remove * import * fix TS issues
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { assert } from 'chai'
|
||||
|
||||
import ECDSA from '../../src/common/ecdsa'
|
||||
import { Payment } from '../../src/models/transactions'
|
||||
import Wallet from '../../src/wallet'
|
||||
|
||||
/**
|
||||
@@ -155,7 +156,7 @@ describe('Wallet', function () {
|
||||
const address = 'rhvh5SrgBL5V8oeV9EpDuVszeJSSCEkbPc'
|
||||
|
||||
it('signs a transaction offline', function () {
|
||||
const txJSON = {
|
||||
const txJSON: Payment = {
|
||||
TransactionType: 'Payment',
|
||||
Account: address,
|
||||
Destination: 'rQ3PTWGLCbPz8ZCicV5tCX3xuymojTng5r',
|
||||
|
||||
Reference in New Issue
Block a user