Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make constant file pub #14

Closed
wants to merge 1 commit into from
Closed
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
File renamed without changes.
4 changes: 2 additions & 2 deletions src/inscription/nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ use http::HeaderValue;
use serde::{Deserialize, Serialize};
use serde_with::serde_as;

use crate::utils::{self, bytes_to_push_bytes, constants};
use crate::utils::{self, bytes_to_push_bytes};
use crate::wallet::RedeemScriptPubkey;
use crate::{Inscription, InscriptionParseError, OrdError, OrdResult};
use crate::{constants, Inscription, InscriptionParseError, OrdError, OrdResult};

/// Represents an arbitrary Ordinal inscription. We're "unofficially" referring to this as an NFT
/// (e.g., like an ERC721 token). Ordinal inscriptions allow for the embedding of data directly
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ pub use wallet::{
CreateCommitTransaction, CreateCommitTransactionArgs, ExternalSigner, OrdParser,
OrdTransactionBuilder, RevealTransactionArgs, Utxo, Wallet, WalletType,
};

pub mod constants;
1 change: 0 additions & 1 deletion src/utils/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub mod constants;
mod push_bytes;
#[cfg(test)]
pub mod test_utils;
Expand Down
Loading