We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fd9462b + 3160402 commit 7d14f6fCopy full SHA for 7d14f6f
ton_sdk/src/transaction.rs
@@ -234,7 +234,7 @@ impl Transaction {
234
fees.in_msg_fwd_fee = if in_msg_fwd_fee > 0 { in_msg_fwd_fee as u64 } else { 0 };
235
236
let total_output = self.out_messages.iter().fold(0u128, |acc, msg| acc + msg.value as u128);
237
- fees.total_output = if total_output <= u64::MAX as u128 { total_output as u64 } else { 0 };
+ fees.total_output = if total_output <= std::u64::MAX as u128 { total_output as u64 } else { 0 };
238
239
fees
240
}
0 commit comments