Skip to content

Commit

Permalink
fix(multiple-arbitrable-transaction): send instead of transfer
Browse files Browse the repository at this point in the history
to avoid blocking
  • Loading branch information
0xferit committed Jan 21, 2019
1 parent f30894c commit 14bce32
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @authors: [@eburgos, @n1c01a5]
* @reviewers: [@unknownunknown1, @clesaege*, @ferittuncer]
* @reviewers: [@unknownunknown1*, @clesaege*, @ferittuncer]
* @auditors: []
* @bounties: []
* @deployments: []
Expand Down Expand Up @@ -260,14 +260,14 @@ contract MultipleArbitrableTransaction {
if (transaction.sellerFee > _arbitrationCost) {
uint extraFeeSeller = transaction.sellerFee - _arbitrationCost;
transaction.sellerFee = _arbitrationCost;
transaction.seller.transfer(extraFeeSeller);
transaction.seller.send(extraFeeSeller);
}

// Refund buyer if it overpaid.
if (transaction.buyerFee > _arbitrationCost) {
uint extraFeeBuyer = transaction.buyerFee - _arbitrationCost;
transaction.buyerFee = _arbitrationCost;
transaction.buyer.transfer(extraFeeBuyer);
transaction.buyer.send(extraFeeBuyer);
}
}

Expand Down

0 comments on commit 14bce32

Please sign in to comment.