Skip to content

Commit

Permalink
Fix sled storage prefix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibo-lg committed Mar 24, 2023
1 parent 182442b commit eb22d66
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dlc-sled-storage-provider/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const CHANNEL_TREE: u8 = 2;
const CHAIN_MONITOR_TREE: u8 = 3;
const CHAIN_MONITOR_KEY: u8 = 4;
#[cfg(feature = "wallet")]
const UTXO_TREE: u8 = 6;
const UTXO_TREE: u8 = 5;
#[cfg(feature = "wallet")]
const KEY_PAIR_TREE: u8 = 7;
const SUB_CHANNEL_TREE: u8 = 3;
const KEY_PAIR_TREE: u8 = 6;
const SUB_CHANNEL_TREE: u8 = 7;
#[cfg(feature = "wallet")]
const ADDRESS_TREE: u8 = 8;

Expand Down Expand Up @@ -119,7 +119,7 @@ convertible_enum!(

convertible_enum!(
enum ChannelPrefix {
Offered = 100,
Offered = 1,
Accepted,
Signed; SignedChannelPrefix, state,
FailedAccept,
Expand Down Expand Up @@ -152,7 +152,7 @@ convertible_enum!(

convertible_enum!(
enum SubChannelPrefix {;
Offered = 500,
Offered = 1,
Accepted,
Signed,
Closing,
Expand Down

0 comments on commit eb22d66

Please sign in to comment.