diff --git a/src/avalanche/protocol.h b/src/avalanche/protocol.h --- a/src/avalanche/protocol.h +++ b/src/avalanche/protocol.h @@ -73,7 +73,7 @@ Hello(Delegation delegationIn, SchnorrSig sigIn) : delegation(std::move(delegationIn)), sig(sigIn) {} - std::array GetSig() { return sig; } + SchnorrSig GetSig() { return sig; } // serialization support SERIALIZE_METHODS(Hello, obj) { READWRITE(obj.delegation, obj.sig); }