Change i8 to u8 on WithdrawReasons #8586 (#8591)

This commit is contained in:
Chris D'Costa authored and GitHub committed 2021-04-13 10:10:14 +00:00
1 parent a4ed9bb9b2
commit b9ed6e01b3
1 file changed
+1 -1
@@ -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.