File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -201,11 +201,6 @@ impl SignedRegistration {
201
201
///
202
202
#[ derive( Debug , Clone ) ]
203
203
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 ,
209
204
210
205
/// cip 15/36: 61284 raw binary
211
206
pub bin_reg : Vec < u8 > ,
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ use nonempty::nonempty;
13
13
/// DB columns
14
14
const REG_TX_ID : usize = 2 ;
15
15
const REG_SLOT_NO : usize = 4 ;
16
- const REG_JSON : usize = 6 ;
17
16
const REG_BIN : usize = 7 ;
18
- const SIG_JSON : usize = 9 ;
19
17
const SIG_BIN : usize = 10 ;
20
18
21
19
/// Contains the most recent registration for each public stake address
@@ -91,8 +89,6 @@ pub fn filter_registrations(
91
89
92
90
// The raw registration data from the database.
93
91
let rawreg = RawRegistration {
94
- json_reg : row. get ( REG_JSON ) ,
95
- json_sig : row. get ( SIG_JSON ) ,
96
92
bin_reg : row. get ( REG_BIN ) ,
97
93
bin_sig : row. get ( SIG_BIN ) ,
98
94
tx_id : TxId ( tx_id as u64 ) ,
You can’t perform that action at this time.
0 commit comments