Skip to content

Commit da3502c

Browse files
authored
chore(deps): gouroboros 0.150.0 (#524)
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
1 parent 953d1fd commit da3502c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ require (
88
connectrpc.com/connect v1.19.1
99
connectrpc.com/grpchealth v1.4.0
1010
connectrpc.com/grpcreflect v1.3.0
11-
github.com/blinklabs-io/adder v0.36.0
12-
github.com/blinklabs-io/gouroboros v0.146.0
11+
github.com/blinklabs-io/adder v0.37.0
12+
github.com/blinklabs-io/gouroboros v0.150.0
1313
github.com/blinklabs-io/tx-submit-api v0.20.10
1414
github.com/gin-gonic/gin v1.11.0
1515
github.com/gorilla/websocket v1.5.3
@@ -30,7 +30,7 @@ require (
3030
github.com/ProjectZKM/Ziren/crates/go-runtime/zkvm_runtime v0.0.0-20251001021608-1fe7b43fc4d6 // indirect
3131
github.com/beorn7/perks v1.0.1 // indirect
3232
github.com/bits-and-blooms/bitset v1.20.0 // indirect
33-
github.com/blinklabs-io/plutigo v0.0.18 // indirect
33+
github.com/blinklabs-io/plutigo v0.0.21 // indirect
3434
github.com/btcsuite/btcd/btcec/v2 v2.3.6 // indirect
3535
github.com/btcsuite/btcd/btcutil v1.1.6 // indirect
3636
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
1515
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
1616
github.com/bits-and-blooms/bitset v1.20.0 h1:2F+rfL86jE2d/bmw7OhqUg2Sj/1rURkBn3MdfoPyRVU=
1717
github.com/bits-and-blooms/bitset v1.20.0/go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8=
18-
github.com/blinklabs-io/adder v0.36.0 h1:4v188HzvIOyhgGy5W2zNTTp+jWexjQgpRCJ6V4Diml8=
19-
github.com/blinklabs-io/adder v0.36.0/go.mod h1:ZbHVF5W2acwT9pUyp6yVCeGp3U9pB6iHmjqbt6Aedds=
20-
github.com/blinklabs-io/gouroboros v0.146.0 h1:bZD6GAbHpTRhaUEDFuD+s21eZwdAwWBJ5w5ebBRJKLk=
21-
github.com/blinklabs-io/gouroboros v0.146.0/go.mod h1:qRfnn0az84aaPjsvtQK52yoApww0bxQsMu9LJgQ1ftg=
18+
github.com/blinklabs-io/adder v0.37.0 h1:yfBA+4S34LLgqOcOS5H5XIOvNEhmdypEV7xw+ES/nQ4=
19+
github.com/blinklabs-io/adder v0.37.0/go.mod h1:CJsbQyGJKGgDksRXgHxda5Uco11HSXhYmLqjcxrGFH8=
20+
github.com/blinklabs-io/gouroboros v0.150.0 h1:85pjIds96ufojJT7q4wmHaH4YnSsM9yZUoH7AMDHpDw=
21+
github.com/blinklabs-io/gouroboros v0.150.0/go.mod h1:Op+E43dmFywqyvDc9id/wqh08muGfdeM4lERR1aRe5s=
2222
github.com/blinklabs-io/ouroboros-mock v0.4.0 h1:ppOcTMnC/2f5rYYSlvNqcGfAQOIpMCSDUrNh9K6a4mY=
2323
github.com/blinklabs-io/ouroboros-mock v0.4.0/go.mod h1:e+Kck8bmdOuaN7IfkbVvbqAVlskXNXB95oHI3YlFG5g=
24-
github.com/blinklabs-io/plutigo v0.0.18 h1:axw0QVrdiqEjt+ssKs5zY2ycogZ+j5r0IETHkAda+8Q=
25-
github.com/blinklabs-io/plutigo v0.0.18/go.mod h1:L72ik2SFGruMCxqI5nnuMMz0TwSu9Fk+MekKynr3SPQ=
24+
github.com/blinklabs-io/plutigo v0.0.21 h1:+corf01GABIs8dKQowlYgBk5RFfj0wrficxG1LVF3Qw=
25+
github.com/blinklabs-io/plutigo v0.0.21/go.mod h1:JwWJQOXVc3Bbb5ot05MUZOACysxTU8TsyDZ9IAJgKeA=
2626
github.com/blinklabs-io/tx-submit-api v0.20.10 h1:+Il7414Nd4/82pr87tsyYRtE+6j52MGrWh5CIHBJzXc=
2727
github.com/blinklabs-io/tx-submit-api v0.20.10/go.mod h1:mqkYyHYrU+XFtbCmiYycYqcxga56JdPLDas0oNTTtsE=
2828
github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ=

internal/api/localstatequery.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -493,12 +493,12 @@ func handleLocalStateQuerySearchUTxOsByAsset(c *gin.Context) {
493493

494494
// Check if the asset exists in this UTxO
495495
amount := assets.Asset(policyId, assetName)
496-
if amount > 0 {
496+
if amount != nil && amount.Sign() > 0 {
497497
item := utxoItem{
498498
TxHash: hex.EncodeToString(utxoId.Hash[:]),
499499
Index: uint32(utxoId.Idx), // #nosec G115
500500
Address: output.Address().String(),
501-
Amount: output.Amount(),
501+
Amount: output.Amount().Uint64(),
502502
Assets: assets,
503503
}
504504
results = append(results, item)

0 commit comments

Comments
 (0)