Skip to content

Commit e6eec97

Browse files
committed
class CWallet_UnitTest
1 parent 6b8fc3d commit e6eec97

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/test_gcoin.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,9 @@ class CWallet_UnitTest : public CWallet
164164
return license_amount_;
165165
}
166166

167-
bool CreateLicenseTransaction(const std::vector<CRecipient>& vecSend, const type_Color& send_color, CWalletTx& wtxNew,
168-
string& strFailReason, bool &fComplete)
167+
bool CreateLicenseTransaction(const std::vector<CRecipient>& vecSend, CWalletTx& wtxNew, string& strFailReason, bool &fComplete)
169168
{
170-
return (send_color == color_ );
169+
return (vecSend[0].mAmount.Color() == color_ );
171170
}
172171

173172
inline bool CommitTransaction(CWalletTx &wtxNew, CReserveKey &reservekey)

0 commit comments

Comments
 (0)