Skip to content

Commit

Permalink
Changed to sequence of parameters passed to comply with the latest si…
Browse files Browse the repository at this point in the history
…gnature change of method MultiPartyEscrow.OpenChannel
  • Loading branch information
anandsnet committed Dec 18, 2018
1 parent a84e1ac commit 725d2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/ethereum_test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 725d2ef

Please sign in to comment.