File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ func main() {
141
141
// Wait until we're done
142
142
<- doneChan
143
143
144
- fmt .Printf ("Successfully sent transaction %x\n " , tx .Hash ())
144
+ fmt .Printf ("Successfully sent transaction %x\n " , tx .Id ())
145
145
146
146
if err := o .Close (); err != nil {
147
147
fmt .Printf ("ERROR: failed to close connection: %s\n " , err )
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ func NewTxInfoV3FromTransaction(
209
209
Signatories : signatoriesInfo (tx .RequiredSigners ()),
210
210
Redeemers : redeemers ,
211
211
Data : tmpData ,
212
- Id : tx .Hash (),
212
+ Id : tx .Id (),
213
213
Votes : votes ,
214
214
ProposalProcedures : proposalProcedures ,
215
215
}
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ func TestConwayTx_Utxorpc(t *testing.T) {
179
179
t .Fatalf ("failed to convert Conway tx to utxorpc: %v" , err )
180
180
}
181
181
182
- expHash := tx .Hash ().Bytes ()
182
+ expHash := tx .Id ().Bytes ()
183
183
if ! bytes .Equal (utxoTx .Hash , expHash ) {
184
184
t .Errorf ("tx hash mismatch\n expected: %x\n actual : %x" , expHash , utxoTx .Hash )
185
185
}
You can’t perform that action at this time.
0 commit comments