Skip to content

Commit

Permalink
mobile: fix build on iOS (#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 #21340
  • Loading branch information
fjl authored Jul 23, 2020
1 parent 997b552 commit 3a57eec
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 3a57eec

Please sign in to comment.