mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 01:41:03 +00:00
Use different chain primitives in Millau (#517)
This commit is contained in:
committed by
Bastian Köcher
parent
20fc30404a
commit
6dc267393a
@@ -110,12 +110,12 @@ impl MessageBridge for WithRialtoMessageBridge {
|
||||
|
||||
fn bridged_weight_to_bridged_balance(weight: Weight) -> bp_rialto::Balance {
|
||||
// we're using the same weights in both chains now
|
||||
<crate::Runtime as pallet_transaction_payment::Trait>::WeightToFee::calc(&weight)
|
||||
<crate::Runtime as pallet_transaction_payment::Trait>::WeightToFee::calc(&weight) as _
|
||||
}
|
||||
|
||||
fn this_balance_to_bridged_balance(this_balance: bp_millau::Balance) -> bp_rialto::Balance {
|
||||
// 1:1 conversion that will probably change in the future
|
||||
this_balance
|
||||
this_balance as _
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user