Skip to content

Commit

Permalink
chore(deps): gouroboros 0.105.3 (#302)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <[email protected]>
  • Loading branch information
wolf31o2 authored Dec 27, 2024
1 parent 19f4196 commit eb35de3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
connectrpc.com/connect v1.17.0
connectrpc.com/grpchealth v1.3.0
connectrpc.com/grpcreflect v1.2.0
github.com/blinklabs-io/gouroboros v0.105.2
github.com/blinklabs-io/gouroboros v0.105.3
github.com/blinklabs-io/ouroboros-mock v0.3.5
github.com/dgraph-io/badger/v4 v4.5.0
github.com/glebarez/sqlite v1.11.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/blinklabs-io/gouroboros v0.105.2 h1:4le/9xA1x626hPp1z/rQQalM5lInqKl006O7v5G1dQE=
github.com/blinklabs-io/gouroboros v0.105.2/go.mod h1:W7ENnAVntdrUg5c7SIfEhADTKgeXFNankI5Rfeyb5k4=
github.com/blinklabs-io/gouroboros v0.105.3 h1:/t0T98tRf+oLG/mK0hLIZflxFu9lhZ64YqfHpbnFwW8=
github.com/blinklabs-io/gouroboros v0.105.3/go.mod h1:W7ENnAVntdrUg5c7SIfEhADTKgeXFNankI5Rfeyb5k4=
github.com/blinklabs-io/ouroboros-mock v0.3.5 h1:/KWbSoH8Pjrd9uxOH7mVbI7XFsDCNW/O9FtLlvJDUpQ=
github.com/blinklabs-io/ouroboros-mock v0.3.5/go.mod h1:JtUQ3Luo22hCnGBxuxNp6JaUx63VxidxWwmcaVMremw=
github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=
Expand Down
7 changes: 3 additions & 4 deletions localtxsubmission.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ func (n *Node) localtxsubmissionServerConnOpts() []olocaltxsubmission.LocalTxSub

func (n *Node) localtxsubmissionServerSubmitTx(
ctx olocaltxsubmission.CallbackContext,
tx any,
tx olocaltxsubmission.MsgSubmitTxTransaction,
) error {
tmpTx := tx.(olocaltxsubmission.MsgSubmitTxTransaction)
txBytes := tmpTx.Raw.Content.([]byte)
txBytes := tx.Raw.Content.([]byte)
txHash := lcommon.Blake2b256Hash(txBytes)
// Add transaction to mempool
err := n.mempool.AddTransaction(
mempool.MempoolTransaction{
Hash: txHash.String(),
Type: uint(tmpTx.EraId),
Type: uint(tx.EraId),
Cbor: txBytes,
LastSeen: time.Now(),
},
Expand Down

0 comments on commit eb35de3

Please sign in to comment.