mobile: fix build on iOS (#21362)

This fixes the iOS framework build by naming the second parameter of the
Signer interface method. The name is important because it becomes part
of the objc method signature.

Fixes #21340
This commit is contained in:
Felix Lange 2020-07-23 19:15:40 +02:00 committed by GitHub
parent 997b55236e
commit 3a57eecc69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ import (
// Signer is an interface defining the callback when a contract requires a // Signer is an interface defining the callback when a contract requires a
// method to sign the transaction before submission. // method to sign the transaction before submission.
type Signer interface { type Signer interface {
Sign(*Address, *Transaction) (tx *Transaction, _ error) Sign(addr *Address, unsignedTx *Transaction) (tx *Transaction, _ error)
} }
type MobileSigner struct { type MobileSigner struct {