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

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