File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/sdk-core/src/bitgo Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -285,15 +285,15 @@ export class TxIntentMismatchError extends BitGoJsError {
285285 this . id = id ;
286286 this . txParams = txParams ;
287287 this . txHex = txHex ;
288- this . txExplanation = txExplanation ? this . safeStringify ( txExplanation ) : undefined ;
288+ this . txExplanation = txExplanation ? TxIntentMismatchError . safeStringify ( txExplanation ) : undefined ;
289289 }
290290
291291 /**
292292 * Safely stringify a value with BigInt support
293293 * @param value - Value to stringify
294294 * @returns JSON string with BigInts converted to strings
295295 */
296- private safeStringify ( value : unknown ) : string {
296+ private static safeStringify ( value : unknown ) : string {
297297 return JSON . stringify ( value , ( _ , v ) => ( typeof v === 'bigint' ? v . toString ( ) : v ) , 2 ) ;
298298 }
299299
You can’t perform that action at this time.
0 commit comments