Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1369,6 +1369,7 @@ components:
- Testnet
- Testnet4
- Signet
- SignetCustom
- Regtest
BlockTime:
type: object
Expand Down
3 changes: 2 additions & 1 deletion src/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ pub(crate) enum BitcoinNetwork {
Testnet,
Testnet4,
Signet,
SignetCustom,
Regtest,
}

Expand All @@ -383,7 +384,7 @@ impl From<RgbLibNetwork> for BitcoinNetwork {
RgbLibNetwork::Testnet4 => Self::Testnet4,
RgbLibNetwork::Regtest => Self::Regtest,
RgbLibNetwork::Signet => Self::Signet,
RgbLibNetwork::SignetCustom => todo!("fix when adding support to custom signet"),
RgbLibNetwork::SignetCustom => Self::SignetCustom,
}
}
}
Expand Down
Loading