@@ -23,8 +23,8 @@ namespace cbdc {
23
23
auto operator <<(serializer& packet, const transaction::output& out)
24
24
-> serializer& {
25
25
return packet << out.m_witness_program_commitment << out.m_id
26
- << out.m_nonce << out.m_auxiliary << out.m_range
27
- << out.m_consistency ;
26
+ << out.m_nonce << out.m_auxiliary << out.m_range
27
+ << out.m_consistency ;
28
28
}
29
29
30
30
auto operator >>(serializer& packet, transaction::output& out)
@@ -37,7 +37,7 @@ namespace cbdc {
37
37
auto operator <<(serializer& packet, const transaction::compact_output& out)
38
38
-> serializer& {
39
39
return packet << out.m_id << out.m_auxiliary << out.m_range
40
- << out.m_consistency ;
40
+ << out.m_consistency ;
41
41
}
42
42
43
43
auto operator >>(serializer& packet, transaction::compact_output& out)
@@ -59,7 +59,7 @@ namespace cbdc {
59
59
auto operator <<(serializer& packet, const transaction::input& inp)
60
60
-> serializer& {
61
61
return packet << inp.m_prevout << inp.m_prevout_data
62
- << inp.m_spend_data ;
62
+ << inp.m_spend_data ;
63
63
}
64
64
65
65
auto operator >>(serializer& packet, transaction::input& inp)
@@ -71,7 +71,7 @@ namespace cbdc {
71
71
auto operator <<(serializer& packet, const transaction::full_tx& tx)
72
72
-> serializer& {
73
73
return packet << tx.m_inputs << tx.m_outputs << tx.m_witness
74
- << tx.m_tx_proofs << tx.m_out_spend_data ;
74
+ << tx.m_tx_proofs << tx.m_out_spend_data ;
75
75
}
76
76
77
77
auto operator >>(serializer& packet, transaction::full_tx& tx)
@@ -81,12 +81,13 @@ namespace cbdc {
81
81
}
82
82
83
83
auto operator <<(serializer& packet,
84
- const transaction::transaction_proof& proof) -> serializer& {
84
+ const transaction::transaction_proof& proof)
85
+ -> serializer& {
85
86
return packet << proof.m_noncesigs ;
86
87
}
87
88
88
- auto operator >>(serializer& packet,
89
- transaction::transaction_proof& proof) -> serializer& {
89
+ auto operator >>(serializer& packet, transaction::transaction_proof& proof)
90
+ -> serializer& {
90
91
return packet >> proof.m_noncesigs ;
91
92
}
92
93
0 commit comments