mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
Make Substrate compile with latest nightly (#7381)
* Try to get it compiling * One more * Make stable happy * Make stable even more happy ;) * Update shell.nix
This commit is contained in:
@@ -717,7 +717,7 @@ define_env!(Env, <E: Ext>,
|
||||
let value: BalanceOf<<E as Ext>::T> = read_sandbox_memory_as(ctx, value_ptr, value_len)?;
|
||||
let input_data = read_sandbox_memory(ctx, input_data_ptr, input_data_len)?;
|
||||
|
||||
if value > 0.into() {
|
||||
if value > 0u32.into() {
|
||||
charge_gas(ctx, RuntimeToken::CallSurchargeTransfer)?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user