From b9ed6e01b38afbb6ed4c4be232039f9ef3a823c7 Mon Sep 17 00:00:00 2001 From: Chris D'Costa <chris.dcosta@totemaccounting.com> Date: Tue, 13 Apr 2021 12:10:14 +0200 Subject: [PATCH] Change i8 to u8 on WithdrawReasons #8586 (#8591) --- substrate/frame/support/src/traits/tokens/misc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/support/src/traits/tokens/misc.rs b/substrate/frame/support/src/traits/tokens/misc.rs index 02f7ba384bd..9871123abd5 100644 --- a/substrate/frame/support/src/traits/tokens/misc.rs +++ b/substrate/frame/support/src/traits/tokens/misc.rs @@ -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. -- GitLab