Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix client sig #995

Open
wants to merge 13 commits into
base: sprint-1.17
Choose a base branch
from
Prev Previous commit
Next Next commit
use allocation tx
Hitenjain14 committed Jun 23, 2024
commit bd990ec0b0ff35a64ca7560b8ba1cb0abb2a986d
2 changes: 1 addition & 1 deletion tests/api_tests/blobber_hashnode_test.go
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ func TestHashnodeRoot(testSetup *testing.T) {

blobberUrl := getBlobberURL(usedBlobberID, allocation.Blobbers)

sign, err := crypto.SignHashUsingSignatureScheme(crypto.Sha3256([]byte(allocation.ID+blobberUrl)), "bls0chain", []*model.KeyPair{wallet.Keys})
sign, err := crypto.SignHashUsingSignatureScheme(crypto.Sha3256([]byte(allocation.Tx+blobberUrl)), "bls0chain", []*model.KeyPair{wallet.Keys})
require.Nil(t, err)

blobberRequest := &model.BlobberGetHashnodeRequest{