File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -245,17 +245,17 @@ pub enum AddressData {
245
245
/// Data encoded by a P2PKH address.
246
246
P2pkh {
247
247
/// The pubkey hash used to encumber outputs to this address.
248
- pubkey_hash : PubkeyHash
248
+ pubkey_hash : PubkeyHash ,
249
249
} ,
250
250
/// Data encoded by a P2SH address.
251
251
P2sh {
252
252
/// The script hash used to encumber outputs to this address.
253
- script_hash : ScriptHash
253
+ script_hash : ScriptHash ,
254
254
} ,
255
255
/// Data encoded by a Segwit address.
256
256
Segwit {
257
257
/// The witness program used to encumber outputs to this address.
258
- witness_program : WitnessProgram
258
+ witness_program : WitnessProgram ,
259
259
} ,
260
260
}
261
261
Original file line number Diff line number Diff line change 5
5
//! Implementation based on RFC5869, but the interface is scoped
6
6
//! to BIP324's requirements.
7
7
8
- use core:: fmt;
9
-
10
8
#[ cfg( all( feature = "alloc" , not( feature = "std" ) ) ) ]
11
9
use alloc:: vec;
12
10
#[ cfg( all( feature = "alloc" , not( feature = "std" ) ) ) ]
13
11
use alloc:: vec:: Vec ;
12
+ use core:: fmt;
14
13
15
14
use crate :: { Hash , HashEngine , Hmac , HmacEngine } ;
16
15
You can’t perform that action at this time.
0 commit comments