Skip to content

Commit

Permalink
Change i8 to u8 on WithdrawReasons paritytech#8586 (paritytech#8591)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdcosta authored Apr 13, 2021
1 parent c80cc4e commit 2201282
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame/support/src/traits/tokens/misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ pub enum BalanceStatus {
bitflags::bitflags! {
/// Reasons for moving funds out of an account.
#[derive(Encode, Decode)]
pub struct WithdrawReasons: i8 {
pub struct WithdrawReasons: u8 {
/// In order to pay for (system) transaction costs.
const TRANSACTION_PAYMENT = 0b00000001;
/// In order to transfer ownership.
Expand Down

0 comments on commit 2201282

Please sign in to comment.