Improve magic bytes push performance
This commit is contained in:
parent
1f7affbc95
commit
debcce6a03
|
@ -53,7 +53,7 @@ impl PartiallySignedTransaction {
|
|||
let mut buf: Vec<u8> = Vec::new();
|
||||
|
||||
// <magic>
|
||||
buf.extend(b"psbt");
|
||||
buf.extend_from_slice(b"psbt");
|
||||
|
||||
buf.push(0xff_u8);
|
||||
|
||||
|
|
Loading…
Reference in New Issue