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:
fernandomg 2020-06-01 14:54:42 -03:00
parent 420b9cb58e
commit d5cf8c94ab
1 changed files with 3 additions and 3 deletions

View File

@ -18,9 +18,9 @@ class ABIService {
}
static getMethodSignatureAndSignatureHash(method) {
const signature = ABIService.getMethodSignature(method)
const signatureHash = ABIService.getSignatureHash(signature)
return { signature, signatureHash }
const methodSignature = ABIService.getMethodSignature(method)
const signatureHash = ABIService.getSignatureHash(methodSignature)
return { methodSignature, signatureHash }
}
static getMethodSignature({ inputs, name }) {