fix: incorrect peek_address index

This commit is contained in:
Ed Ball 2023-02-01 15:40:33 +01:00 committed by thunderbiscuit
parent 10f893a4b3
commit d42789db9b
No known key found for this signature in database
GPG Key ID: 88253696EB836462

View File

@ -605,7 +605,7 @@ mod test {
// peek index 1
assert_eq!(
wallet
.get_address(AddressIndex::Peek { index: 0 })
.get_address(AddressIndex::Peek { index: 1 })
.unwrap()
.address,
"bcrt1q0xs7dau8af22rspp4klya4f7lhggcnqfun2y3a"