mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Add null check
This commit is contained in:
parent
4a8161146b
commit
f1388f6ad7
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ public class SignPayoutTx extends TradeTask {
|
|||
try {
|
||||
runInterceptHook();
|
||||
checkNotNull(trade.getTradeAmount(), "trade.getTradeAmount() must not be null");
|
||||
checkNotNull(trade.getDepositTx(), "trade.getDepositTx() must not be null");
|
||||
Coin sellerPayoutAmount = FeePolicy.getSecurityDeposit();
|
||||
Coin buyerPayoutAmount = sellerPayoutAmount.add(trade.getTradeAmount());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue