firmware/testing/devtest/dump_private.py
hodlwave 3d113a1b91 Add tests for address explorer
Tests the following conditions:
1) First menu displays correct stub addresses
2) Second menu shows the correct addresses given
the selected stub and a sequence of keypresses
3) The addresses (count=250) dumped to a text file are correct
for the selected stub
2019-10-01 14:23:56 -04:00

5 lines
116 B
Python

import backups, stash
with stash.SensitiveValues() as sv:
RV.write('%s' % sv.chain.serialize_private(sv.node))