Update provider formatter to use new Signature API.
This commit is contained in:
parent
5bd074e655
commit
ea69e615c4
@ -223,7 +223,7 @@ export class Formatter {
|
||||
|
||||
value = this.#format.transactionResponse(value);
|
||||
|
||||
const sig = Signature.fromTransaction(value.r, value.s, value.v);
|
||||
const sig = Signature.from({ r: value.r, s: value.s, v: value.v });
|
||||
value.signature = sig;
|
||||
if (value.chainId == null) { value.chainId = sig.legacyChainId; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user