change `signature` key name to `methodSignature`
There is something down there that mutates the `tx` object in the Review screen and was overwriting the `signature` key with the method's hash
This commit is contained in:
parent
420b9cb58e
commit
d5cf8c94ab
|
@ -18,9 +18,9 @@ class ABIService {
|
||||||
}
|
}
|
||||||
|
|
||||||
static getMethodSignatureAndSignatureHash(method) {
|
static getMethodSignatureAndSignatureHash(method) {
|
||||||
const signature = ABIService.getMethodSignature(method)
|
const methodSignature = ABIService.getMethodSignature(method)
|
||||||
const signatureHash = ABIService.getSignatureHash(signature)
|
const signatureHash = ABIService.getSignatureHash(methodSignature)
|
||||||
return { signature, signatureHash }
|
return { methodSignature, signatureHash }
|
||||||
}
|
}
|
||||||
|
|
||||||
static getMethodSignature({ inputs, name }) {
|
static getMethodSignature({ inputs, name }) {
|
||||||
|
|
Loading…
Reference in New Issue