Closed Flouse closed 4 months ago
struct ExtraCommitmentData { input_len: byte, output_len: byte, }
rgbppVirtualTx.inputs.length and rgbppVirtualTx.outputs.length
https://github.com/ckb-cell/rgbpp-sdk/blob/da489e554918ca9a576e0319fc369db9ba4a616e/packages/ckb/src/utils/rgbpp.ts#L59
https://github.com/ckb-cell/rgbpp-sdk/pull/109
Reason
An upper limit check of
rgbppVirtualTx.inputs.length and rgbppVirtualTx.outputs.length
is requiredhttps://github.com/ckb-cell/rgbpp-sdk/blob/da489e554918ca9a576e0319fc369db9ba4a616e/packages/ckb/src/utils/rgbpp.ts#L59