Skip to content

Commit

Permalink
mobile: fix build on iOS
Browse files Browse the repository at this point in the history
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 ethereum#21340
  • Loading branch information
fjl committed Jul 23, 2020
1 parent 997b552 commit e22d8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/bind.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
// Signer is an interface defining the callback when a contract requires a
// method to sign the transaction before submission.
type Signer interface {
Sign(*Address, *Transaction) (tx *Transaction, _ error)
Sign(addr *Address, unsignedTx *Transaction) (tx *Transaction, _ error)
}

type MobileSigner struct {
Expand Down

0 comments on commit e22d8d4

Please sign in to comment.