以下はなぜ機能しないのですか? 計算とガス使用の関数の使用
The contract won't allow this transaction to be executed
uint transactionFee = (msg.value * 2)/100;
uint transactionReward = (msg.value * 2)/100;
uint receiverMoney = msg.value - limitTransactionCosts(transactionFee - transactionReward);
これが働いている間:
uint transactionFee = (msg.value * 2)/100;
uint transactionReward = (msg.value * 2)/100;
transactionFee = limitTransactionCosts(transactionFee);
transactionReward = limitTransactionCosts(transactionReward);
uint receiverMoney = msg.value - transactionFee - transactionReward;
limitTransactionCosts OK、それはである – BananazZ
機能である「 - 」問題のシンボルので、私は –
はあなたが –