Skip to content

Commit

Permalink
Merge pull request #309 from 0xcregis/308-publish-fields-of-bitcointr…
Browse files Browse the repository at this point in the history
…ansactionid

refactor: publish fields of BitcoinTransactionId
  • Loading branch information
loki-cmu authored Dec 25, 2024
2 parents 6ddef6c + 26bc83f commit d1d980a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/anychain-bitcoin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "anychain-bitcoin"
description = "A Rust library for Bitcoin-focused cryptocurrency wallets, enabling seamless transactions on the Bitcoin blockchain"
version = "0.1.9"
version = "0.1.10"
keywords = ["bitcoin", "blockchain", "wallet", "transactions"]
categories = ["cryptography::cryptocurrencies"]

Expand Down
4 changes: 2 additions & 2 deletions crates/anychain-bitcoin/src/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,8 @@ impl BitcoinTransactionOutput {
/// `<https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#transaction-id>`
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub struct BitcoinTransactionId {
txid: Vec<u8>,
wtxid: Vec<u8>,
pub txid: Vec<u8>,
pub wtxid: Vec<u8>,
}

impl TransactionId for BitcoinTransactionId {}
Expand Down

0 comments on commit d1d980a

Please sign in to comment.