From 3a57eecc69447766ab51b6b290ff6d8656e16b3f Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 23 Jul 2020 19:15:40 +0200 Subject: [PATCH] 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 --- mobile/bind.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/bind.go b/mobile/bind.go index 9b4c0bb0e5..f64b37ec15 100644 --- a/mobile/bind.go +++ b/mobile/bind.go @@ -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 {