update
This commit is contained in:
@@ -123,9 +123,9 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GetNotarizationData(uint256 notarisationHash, NotarizationData &data) const
|
||||
bool GetNotarizationData(uint256 notarizationHash, NotarizationData &data) const
|
||||
{
|
||||
if (notarisationHash == NotarizationHash()) {
|
||||
if (notarizationHash == NotarizationHash()) {
|
||||
data.MoM = MoM;
|
||||
return true;
|
||||
}
|
||||
@@ -567,7 +567,7 @@ TEST_F(TestBet, testImportPayoutInvalidNotarizationHash)
|
||||
EvalMock eval = ebet.SetEvalMock(12);
|
||||
|
||||
MoMProof proof = ebet.GetMoMProof();
|
||||
proof.notarisationHash = uint256();
|
||||
proof.notarizationHash = uint256();
|
||||
CMutableTransaction importTx = ebet.bet.MakeImportPayoutTx(
|
||||
ebet.Payouts(Player2), ebet.DisputeTx(Player2), uint256(), proof);
|
||||
|
||||
|
||||
@@ -49,6 +49,6 @@ TEST(TestParseNotarization, test__b)
|
||||
|
||||
|
||||
|
||||
// for l in `g 'parse notarisation' ~/.hush/HUSH3/debug.log | pyline 'l.split()[8]'`; do hoek decodeTx '{"hex":"'`src/hush-cli getrawtransaction "$l"`'"}' | jq '.outputs[1].script.op_return' | pyline 'import base64; print base64.b64decode(l).encode("hex")'; done
|
||||
// for l in `g 'parse notarization' ~/.hush/HUSH3/debug.log | pyline 'l.split()[8]'`; do hoek decodeTx '{"hex":"'`src/hush-cli getrawtransaction "$l"`'"}' | jq '.outputs[1].script.op_return' | pyline 'import base64; print base64.b64decode(l).encode("hex")'; done
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user