diff --git a/go.mod b/go.mod index cbdcacd..71822d4 100644 --- a/go.mod +++ b/go.mod @@ -6,8 +6,8 @@ toolchain go1.23.2 require ( github.com/mattn/go-sqlite3 v1.14.24 - go.sia.tech/core v0.4.8-0.20240928202806-0e77790bd8bf - go.sia.tech/coreutils v0.4.2-0.20241017012544-0b4946403c93 + go.sia.tech/core v0.5.0 + go.sia.tech/coreutils v0.5.0 go.sia.tech/jape v0.12.1 go.sia.tech/web/walletd v0.23.1 go.uber.org/zap v1.27.0 diff --git a/go.sum b/go.sum index 6e718e4..9992d92 100644 --- a/go.sum +++ b/go.sum @@ -10,10 +10,10 @@ github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKs github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= go.etcd.io/bbolt v1.3.11 h1:yGEzV1wPz2yVCLsD8ZAiGHhHVlczyC9d1rP43/VCRJ0= go.etcd.io/bbolt v1.3.11/go.mod h1:dksAq7YMXoljX0xu6VF5DMZGbhYYoLUalEiSySYAS4I= -go.sia.tech/core v0.4.8-0.20240928202806-0e77790bd8bf h1:x/lM7Y8Rlo12rcpPXapLvSVNyrHZEKO6j4eLNccPMKw= -go.sia.tech/core v0.4.8-0.20240928202806-0e77790bd8bf/go.mod h1:j2Ke8ihV8or7d2VDrFZWcCkwSVHO0DNMQJAGs9Qop2M= -go.sia.tech/coreutils v0.4.2-0.20241017012544-0b4946403c93 h1:38XTWxsDR4Q8ILQHFFSoB906jRrcb1UBaWg5d8MBt9M= -go.sia.tech/coreutils v0.4.2-0.20241017012544-0b4946403c93/go.mod h1:JIaR+zdGZsqPLBM5mVsnwWJ7hBsES+SAEDQg5EFBitM= +go.sia.tech/core v0.5.0 h1:feLC7DSCF+PhU157s/94106hFKyiGrGQ9HC3/dF/l7E= +go.sia.tech/core v0.5.0/go.mod h1:P3C1BWa/7J4XgdzWuaYHBvLo2RzZ0UBaJM4TG1GWB2g= +go.sia.tech/coreutils v0.5.0 h1:/xKxdw83iZy0jjLzI2NGHyG4azyjK5DJscxpkr6nIGQ= +go.sia.tech/coreutils v0.5.0/go.mod h1:VYM4FcmlhVrpDGvglLHjRW+gitoaxPNLvp5mL2quilo= go.sia.tech/jape v0.12.1 h1:xr+o9V8FO8ScRqbSaqYf9bjj1UJ2eipZuNcI1nYousU= go.sia.tech/jape v0.12.1/go.mod h1:wU+h6Wh5olDjkPXjF0tbZ1GDgoZ6VTi4naFw91yyWC4= go.sia.tech/mux v1.3.0 h1:hgR34IEkqvfBKUJkAzGi31OADeW2y7D6Bmy/Jcbop9c= diff --git a/wallet/wallet_test.go b/wallet/wallet_test.go index 13cd74f..4fd7d5e 100644 --- a/wallet/wallet_test.go +++ b/wallet/wallet_test.go @@ -3569,9 +3569,7 @@ func TestEventTypes(t *testing.T) { fc = fce.V2FileContract fc.RevisionNumber = types.MaxRevisionNumber finalizationSigHash := cm.TipState().ContractSigHash(fc) - fc.RenterSignature = pk.SignHash(finalizationSigHash) - fc.HostSignature = pk.SignHash(finalizationSigHash) - finalization := types.V2FileContractFinalization(fc) + finalization := types.V2FileContractFinalization(pk.SignHash(finalizationSigHash)) // create the resolution transaction finalizationTxn := types.V2Transaction{