Skip to content

Commit eb35de3

Browse files
authored
chore(deps): gouroboros 0.105.3 (#302)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 19f4196 commit eb35de3

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
connectrpc.com/connect v1.17.0
77
connectrpc.com/grpchealth v1.3.0
88
connectrpc.com/grpcreflect v1.2.0
9-
github.com/blinklabs-io/gouroboros v0.105.2
9+
github.com/blinklabs-io/gouroboros v0.105.3
1010
github.com/blinklabs-io/ouroboros-mock v0.3.5
1111
github.com/dgraph-io/badger/v4 v4.5.0
1212
github.com/glebarez/sqlite v1.11.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4
1010
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
1111
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
1212
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
13-
github.com/blinklabs-io/gouroboros v0.105.2 h1:4le/9xA1x626hPp1z/rQQalM5lInqKl006O7v5G1dQE=
14-
github.com/blinklabs-io/gouroboros v0.105.2/go.mod h1:W7ENnAVntdrUg5c7SIfEhADTKgeXFNankI5Rfeyb5k4=
13+
github.com/blinklabs-io/gouroboros v0.105.3 h1:/t0T98tRf+oLG/mK0hLIZflxFu9lhZ64YqfHpbnFwW8=
14+
github.com/blinklabs-io/gouroboros v0.105.3/go.mod h1:W7ENnAVntdrUg5c7SIfEhADTKgeXFNankI5Rfeyb5k4=
1515
github.com/blinklabs-io/ouroboros-mock v0.3.5 h1:/KWbSoH8Pjrd9uxOH7mVbI7XFsDCNW/O9FtLlvJDUpQ=
1616
github.com/blinklabs-io/ouroboros-mock v0.3.5/go.mod h1:JtUQ3Luo22hCnGBxuxNp6JaUx63VxidxWwmcaVMremw=
1717
github.com/cenkalti/backoff/v4 v4.3.0 h1:MyRJ/UdXutAwSAT+s3wNd7MfTIcy71VQueUuFK343L8=

localtxsubmission.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,15 @@ func (n *Node) localtxsubmissionServerConnOpts() []olocaltxsubmission.LocalTxSub
3232

3333
func (n *Node) localtxsubmissionServerSubmitTx(
3434
ctx olocaltxsubmission.CallbackContext,
35-
tx any,
35+
tx olocaltxsubmission.MsgSubmitTxTransaction,
3636
) error {
37-
tmpTx := tx.(olocaltxsubmission.MsgSubmitTxTransaction)
38-
txBytes := tmpTx.Raw.Content.([]byte)
37+
txBytes := tx.Raw.Content.([]byte)
3938
txHash := lcommon.Blake2b256Hash(txBytes)
4039
// Add transaction to mempool
4140
err := n.mempool.AddTransaction(
4241
mempool.MempoolTransaction{
4342
Hash: txHash.String(),
44-
Type: uint(tmpTx.EraId),
43+
Type: uint(tx.EraId),
4544
Cbor: txBytes,
4645
LastSeen: time.Now(),
4746
},

0 commit comments

Comments
 (0)