Skip to content

Commit 5deb4e6

Browse files
committed
Revert "Merge pull request LedgerHQ#21 from obsidiansystems/pending-support"
This reverts commit 25f9fce, reversing changes made to 8353047.
1 parent 25f9fce commit 5deb4e6

File tree

3 files changed

+2
-29
lines changed

3 files changed

+2
-29
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,10 @@ edition = "2021"
88
nanos_sdk = { git = "https://github.com/LedgerHQ/ledger-nanos-sdk.git" }
99
nanos_ui = { git = "https://github.com/LedgerHQ/ledger-nanos-ui.git" }
1010

11-
[patch."https://github.com/LedgerHQ/ledger-nanos-sdk.git".nanos_sdk]
12-
git = "https://github.com/alamgu/ledger-nanos-sdk"
13-
branch = "flag-for-pending"
14-
1511
[profile.release]
1612
opt-level = 'z'
1713
lto = true
1814

19-
[features]
20-
pending_review_screen = ["nanos_sdk/pending_review_screen"]
21-
2215
[package.metadata.nanos]
2316
curve = ["secp256k1"]
2417
flags = "0"

src/main.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -81,26 +81,6 @@ fn sign_ui(message: &[u8]) -> Result<Option<([u8; 72], u32, u32)>, SyscallError>
8181
}
8282
}
8383

84-
#[no_mangle]
85-
extern "C" fn sample_pending() {
86-
let mut comm = io::Comm::new();
87-
88-
loop {
89-
ui::SingleMessage::new("Pending").show();
90-
match comm.next_event::<Ins>() {
91-
io::Event::Button(ButtonEvent::RightButtonRelease) => break,
92-
_ => (),
93-
}
94-
}
95-
loop {
96-
ui::SingleMessage::new("Ledger review").show();
97-
match comm.next_event::<Ins>() {
98-
io::Event::Button(ButtonEvent::BothButtonsRelease) => break,
99-
_ => (),
100-
}
101-
}
102-
}
103-
10484
#[no_mangle]
10585
extern "C" fn sample_main() {
10686
let mut comm = io::Comm::new();

0 commit comments

Comments
 (0)