Fix clippy pedantic and nursery lints as well

This commit is contained in:
junderw
2023-06-25 16:08:16 -07:00
committed by Mononaut
parent e61ae59e53
commit 609df31e0c
6 changed files with 101 additions and 49 deletions

View File

@@ -5,7 +5,17 @@
export class GbtGenerator {
constructor()
/**
* # Errors
*
* Rejects if the thread panics or if the Mutex is poisoned.
*/
make(mempoolBuffer: Uint8Array): Promise<GbtResult>
/**
* # Errors
*
* Rejects if the thread panics or if the Mutex is poisoned.
*/
update(newTxs: Uint8Array, removeTxs: Uint8Array): Promise<GbtResult>
}
/**