Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/tx-submission/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func main() {
// Wait until we're done
<-doneChan

fmt.Printf("Successfully sent transaction %x\n", tx.Hash())
fmt.Printf("Successfully sent transaction %x\n", tx.Id())

if err := o.Close(); err != nil {
fmt.Printf("ERROR: failed to close connection: %s\n", err)
Expand Down
2 changes: 1 addition & 1 deletion ledger/common/script/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func NewTxInfoV3FromTransaction(
Signatories: signatoriesInfo(tx.RequiredSigners()),
Redeemers: redeemers,
Data: tmpData,
Id: tx.Hash(),
Id: tx.Id(),
Votes: votes,
ProposalProcedures: proposalProcedures,
}
Expand Down
2 changes: 1 addition & 1 deletion ledger/conway/conway_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func TestConwayTx_Utxorpc(t *testing.T) {
t.Fatalf("failed to convert Conway tx to utxorpc: %v", err)
}

expHash := tx.Hash().Bytes()
expHash := tx.Id().Bytes()
if !bytes.Equal(utxoTx.Hash, expHash) {
t.Errorf("tx hash mismatch\nexpected: %x\nactual : %x", expHash, utxoTx.Hash)
}
Expand Down