Skip to content

Commit 836cbda

Browse files
OttoAllmendingerllm-git
andcommitted
fix(abstract-utxo): add override keyword to preprocessBuildParams method
The `preprocessBuildParams` method was missing the `override` keyword, which is now added to correctly indicate that this method overrides a method from the parent class. Issue: BTC-2962 Co-authored-by: llm-git <llm-git@ttll.de>
1 parent dd294ad commit 836cbda

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

modules/abstract-utxo/src/abstractUtxoCoin.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,11 @@ export abstract class AbstractUtxoCoin
479479
}
480480
}
481481

482-
preprocessBuildParams(params: Record<string, any>): Record<string, any> {
482+
/**
483+
* This is called before crafting the HTTP request to the BitGo API.
484+
* It converts the recipient address `scriptPubKey:...` to { script: string } | { address: string }.
485+
*/
486+
override preprocessBuildParams(params: Record<string, any>): Record<string, any> {
483487
if (params.recipients !== undefined) {
484488
params.recipients =
485489
params.recipients instanceof Array

0 commit comments

Comments
 (0)