Skip to content

Commit 10ca139

Browse files
committed
fix build
1 parent 5fc6631 commit 10ca139

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/voting-tools-rs/src/data/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,6 @@ impl SignedRegistration {
201201
///
202202
#[derive(Debug, Clone)]
203203
pub struct RawRegistration {
204-
/// cip 15/36: 61284 json from DB.
205-
pub json_reg: serde_json::Value,
206-
207-
/// cip 15/36: 61285 json from DB.
208-
pub json_sig: serde_json::Value,
209204

210205
/// cip 15/36: 61284 raw binary
211206
pub bin_reg: Vec<u8>,

src/voting-tools-rs/src/verification/verify.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ use nonempty::nonempty;
1313
/// DB columns
1414
const REG_TX_ID: usize = 2;
1515
const REG_SLOT_NO: usize = 4;
16-
const REG_JSON: usize = 6;
1716
const REG_BIN: usize = 7;
18-
const SIG_JSON: usize = 9;
1917
const SIG_BIN: usize = 10;
2018

2119
/// Contains the most recent registration for each public stake address
@@ -91,8 +89,6 @@ pub fn filter_registrations(
9189

9290
// The raw registration data from the database.
9391
let rawreg = RawRegistration {
94-
json_reg: row.get(REG_JSON),
95-
json_sig: row.get(SIG_JSON),
9692
bin_reg: row.get(REG_BIN),
9793
bin_sig: row.get(SIG_BIN),
9894
tx_id: TxId(tx_id as u64),

0 commit comments

Comments
 (0)