|
@ -47,7 +47,7 @@ struct SignatureStruct |
|
|
{ |
|
|
{ |
|
|
SignatureStruct() {} |
|
|
SignatureStruct() {} |
|
|
SignatureStruct(Signature const& _s) { *(h520*)this = _s; } |
|
|
SignatureStruct(Signature const& _s) { *(h520*)this = _s; } |
|
|
SignatureStruct(h256 _r, h256 _s, byte _v): r(_r), s(_s), v(_v) {} |
|
|
SignatureStruct(h256 const& _r, h256 const& _s, byte _v): r(_r), s(_s), v(_v) {} |
|
|
operator Signature() const { return *(h520 const*)this; } |
|
|
operator Signature() const { return *(h520 const*)this; } |
|
|
|
|
|
|
|
|
/// @returns true if r,s,v values are valid, otherwise false
|
|
|
/// @returns true if r,s,v values are valid, otherwise false
|
|
|