Skip to content

Commit

Permalink
mobile: fix build on iOS (ethereum#21362)
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 authored and enriquefynn committed Feb 15, 2021
1 parent 193ed1d commit 2528532
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 2528532

Please sign in to comment.