From 725d2efd0b44775028e52e2cf52b4f7d9970f88e Mon Sep 17 00:00:00 2001 From: anand Date: Tue, 18 Dec 2018 11:03:40 +0530 Subject: [PATCH] Changed to sequence of parameters passed to comply with the latest signature change of method MultiPartyEscrow.OpenChannel --- blockchain/ethereum_test_util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockchain/ethereum_test_util.go b/blockchain/ethereum_test_util.go index 4908ba76..8418102a 100644 --- a/blockchain/ethereum_test_util.go +++ b/blockchain/ethereum_test_util.go @@ -52,7 +52,7 @@ func (env *SimulatedEthereumEnvironment) MpeDeposit(from *bind.TransactOpts, amo } func (env *SimulatedEthereumEnvironment) MpeOpenChannel(from *bind.TransactOpts, to *bind.TransactOpts, amount int64, expiration int64, groupId [32]byte) *SimulatedEthereumEnvironment { - _, err := env.MultiPartyEscrow.OpenChannel(EstimateGas(from), to.From, big.NewInt(amount), big.NewInt(expiration), groupId, from.From) + _, err := env.MultiPartyEscrow.OpenChannel(EstimateGas(from), from.From, to.From, groupId, big.NewInt(amount), big.NewInt(expiration)) if err != nil { panic(fmt.Sprintf("Unable to open MPE payment channel: %v", err)) }