packages/jellyfish-transaction/src/script/dftx/dftx.ts
Function data
has 114 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
static data (dftx: DfTx<any>): BufferComposer {
function compose<T> (name: string, asC: (data: SmartBuffer | T) => ComposableBuffer<T>): BufferComposer {
dftx.name = name
return ComposableBuffer.single<T>(() => dftx.data, v => dftx.data = v, asC)
}
File dftx.ts
has 280 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import { SmartBuffer } from 'smart-buffer'
import { BufferComposer, ComposableBuffer } from '@defichain/jellyfish-buffer'
import {
AccountToAccount,
AccountToUtxos,