Make Address public

This commit is contained in:
Andrew Poelstra 2014-09-06 11:47:18 -05:00
parent 2aeb373e73
commit 1f41a67194
1 changed files with 4 additions and 2 deletions

View File

@ -31,8 +31,10 @@ use util::base58::{Base58Error,
#[deriving(Clone, PartialEq, Eq)]
/// A Bitcoin address
pub struct Address {
network: Network,
hash: Ripemd160Hash
/// The network on which this address is usable
pub network: Network,
/// The pubkeyhash that this address encodes
pub hash: Ripemd160Hash
}
impl Address {