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 // peek index 1
assert_eq!( assert_eq!(
wallet wallet
.get_address(AddressIndex::Peek { index: 0 }) .get_address(AddressIndex::Peek { index: 1 })
.unwrap() .unwrap()
.address, .address,
"bcrt1q0xs7dau8af22rspp4klya4f7lhggcnqfun2y3a" "bcrt1q0xs7dau8af22rspp4klya4f7lhggcnqfun2y3a"