Merge rust-bitcoin/rust-bitcoin#2063: Fix: IndexOutOfBoundsError Display impl has values in wrong order
c98106ef2e
Fix: IndexOutOfBoundsError Display impl has values in wrong order (junderw) Pull request description: Simple self explanatory fix. ACKs for top commit: apoelstra: ACKc98106ef2e
RCasatta: utACKc98106ef2e
Tree-SHA512: d08e1f71283a3ef100947418f29caa860080eb32e35ed978710a17694222ab71fc25c0fcc8cdef7af049d9f5ea72319467ef5c0b51376f065ae1ea33c74680fb
This commit is contained in:
commit
374484ca76
|
@ -798,12 +798,12 @@ impl fmt::Display for IndexOutOfBoundsError {
|
|||
Inputs { ref index, ref length } => write!(
|
||||
f,
|
||||
"index {} is out-of-bounds for PSBT inputs vector length {}",
|
||||
length, index
|
||||
index, length
|
||||
),
|
||||
TxInput { ref index, ref length } => write!(
|
||||
f,
|
||||
"index {} is out-of-bounds for PSBT unsigned tx input vector length {}",
|
||||
length, index
|
||||
index, length
|
||||
),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue